When adding support for WebAuthn, special considerations must be made for the Safari browser on both iOS and macOS:
startAttestation()must be called in a native click listener. Some JS UI libraries, like VueJS, may not use native click handling without the use of framework-specific functionality like Vue's
- Safari only supports the use of XHR and
fetchwithin click handlers for requesting WebAuthn attestation and assertion options. See https://bugs.webkit.org/show_bug.cgi?id=213595 for more info.
- Not all browsers on iOS or macOS support Touch ID or Face ID. Check Supported Devices for more information on which iOS and macOS browsers support which Apple-specific hardware authenticator.