Start with Identity
← Glossary
Standard

WebAuthn

A W3C standard browser API for public-key authentication. WebAuthn is the protocol used by passkeys and FIDO2 security keys. The relying party server stores the public key, the authenticator holds the private key.

WebAuthn is the API every passkey and security key goes through, and the parameters a relying party sets decide the security you actually get: userVerification determines whether a PIN or biometric is required, attestation determines whether you can tell what kind of authenticator enrolled, and the RP ID fixes the origin the credential will sign for. Validate the user-verification flag server side rather than trusting the client.

See also: WebAuthn and FIDO2, passkey, relying party, add passkeys with WebAuthn recipe

Related terms
Last reviewed By SWI Community TeamSuggest a correctionHow we research