Skip to main content
import { StytchClient } from '@stytch/vanilla-js';

const stytch = new StytchClient('${publicToken}');

stytch.webauthn.browserSupportsAutofill().then((browserSupportsAutofill) => {
console.log({ browserSupportsAutofill });
});
An asynchronous helper method to determine if the browser supports autofill. If it does, we recommend using conditional_mediation when authenticating.

Response

supports_autofill
boolean
Whether the browser supports autofill.