Protocols
Saved & recent

WebAuthn

Also called: Web Authentication, FIDO2 WebAuthn

WebAuthn is a browser API for registering and using public-key credentials scoped to a relying party, such as a website. The site stores a public key; an authenticator proves control of the corresponding private key. WebAuthn supports passkey sign-in, while CTAP covers communication with compatible external authenticators. A passkey is not an HTTPS certificate.

For example, a library website sends a fresh challenge during sign-in. After user interaction, the authenticator produces a signed assertion. The website verifies the challenge, origin, relying-party identity and signature against the registered credential, plus its required user-verification policy. A local fingerprint or PIN can unlock the operation without becoming a reusable password sent to the site.

Read first
Authentication
Related
Authentication, HTTPS, Concise Binary Object Representation
Further reading
library website browser authenticator registration · public key stored fresh challenge passes challenge local user verification signed assertion returns assertion challenge origin RP ID signature website verification checks
The authenticator returns a signed assertion for a fresh challenge and intended relying party. The website verifies it using the registered public key and its policy; the user’s local PIN or biometric is not sent as a password.

View in the full Protocols collection