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

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

stytch.webauthn.browserSupportsAutofill().then((browserSupportsAutofill) => {
console.log({ browserSupportsAutofill });
});

Documentation Index

Fetch the complete documentation index at: https://stytch.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

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.