Web authentication
Widely available
The web authentication API allows you to create public key-based credentials and use them for authentication, such as when signing in. Also known as WebAuthn.
Compatibility (view on caniuse.com)
- Chrome 67 Released on 2018-05-29
- Chrome Android 70 Released on 2018-10-17
- Edge 18 Released on 2018-10-02
- Firefox 60 Released on 2018-05-09
- Firefox for Android 92 Released on 2021-09-07
- Safari 13 Released on 2019-09-19
- Safari on iOS 13 Released on 2019-09-19
MDN docs
- AuthenticatorAssertionResponse
- AuthenticatorAssertionResponse.authenticatorData
- AuthenticatorAssertionResponse.signature
- AuthenticatorAssertionResponse.userHandle
- AuthenticatorAttestationResponse
- AuthenticatorAttestationResponse.attestationObject
- AuthenticatorAttestationResponse.getTransports
- AuthenticatorResponse
- AuthenticatorResponse.clientDataJSON
- Web_Authentication_API.WebAuthn_extensions#appidexclude
- PublicKeyCredential
- PublicKeyCredential.getClientExtensionResults
- PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable_static
- PublicKeyCredential.rawId
- PublicKeyCredential.response
Specifications
BCD data
- api.AuthenticatorAssertionResponse
- api.AuthenticatorAssertionResponse.authenticatorData
- api.AuthenticatorAssertionResponse.signature
- api.AuthenticatorAssertionResponse.userHandle
- api.AuthenticatorAttestationResponse
- api.AuthenticatorAttestationResponse.attestationObject
- api.AuthenticatorAttestationResponse.getTransports
- api.AuthenticatorResponse
- api.AuthenticatorResponse.clientDataJSON
- api.CredentialsContainer.create.publicKey_option
- api.CredentialsContainer.create.publicKey_option.extensions
- api.CredentialsContainer.create.publicKey_option.extensions.appidExclude
- api.CredentialsContainer.get.publicKey_option
- api.CredentialsContainer.get.publicKey_option.extensions
- api.CredentialsContainer.get.publicKey_option.extensions.appid
- api.PublicKeyCredential
- api.PublicKeyCredential.getClientExtensionResults
- api.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable_static
- api.PublicKeyCredential.rawId
- api.PublicKeyCredential.response