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
- Further reading