Web Authentication (WebAuthn) is a web standard published by the World Wide Web Consortium (W3C). It defines an API that websites use to authenticate with WebAuthn credentials (commonly known as passkeys) and outlines what WebAuthn authenticators should do. It solves many of the issues of traditional password-based authentication by verifying the user's identity with digital signatures. Although WebAuthn is often touted as a complete replacement for passwords, most websites that implement it continue to use passwords in some capacity. To use WebAuthn, users require a compatible authenticator. The standard does not specify how to store the keys required for signing, so a variety of authenticator types can be used. The most common authenticator type is a platform authenticator, which is built into the operating system of the device. Common platform authenticators include Android, Apple Keychain and Windows Hello. These make use of hardware security features (such as TEE and TPM), and often sync credentials between devices for ease-of-use. Another common authenticator type is a roaming authenticator, where a separate hardware device authenticates the user by connecting over USB, Bluetooth Low Energy, or near-field communications (NFC). Most smartphones can be used as roaming authenticators, and dedicated physical security keys are also used. WebAuthn is effectively backward compatible with FIDO Universal 2nd Factor (U2F) as they both use the CTAP protocol. Password managers can also be used as an authenticator, often with cloud sync. Where credentials sync is not viable or possible, WebAuthn Hybrid Transport can be used to access credentials stored on another authenticator such as a smartphone. Like legacy U2F, WebAuthn is resistant to some phishing attacks as the authenticator only offers credentials that were registered on the same website. However, unlike U2F, WebAuthn can be implemented in a passwordless manner. Moreover, a roaming hardware authenticator resists malware, since the keys are stored on a separate device, which prevents the malware from accessing them directly. The WebAuthn Level 1 and 2 standards were published as W3C Recommendations on 4 March 2019 and 8 April 2021 respectively. A Level 3 specification progressed through several Candidate Recommendation Snapshots during 2026, and in July 2026 the W3C proposed advancing it to full Recommendation status.
Technical basis The WebAuthn standard provides a mechanism for a device or a program, known as the "authenticator") to verify a user's identity to a website through their web browser by confirming that the user possesses the device. To do this in a secure manner, the standard defines two events, the registration ceremony and the authentication ceremony. During these events the authenticator communicates with the website through the web browser to register itself as a device the user possesses and proves to the website that the user still possesses the device respectively.
Authentication
A WebAuthn Authenticator implements multi-factor authentication through the use of cryptographic protocols. The Authenticator uses public-key cryptography to sign a declaration to the website that the user is verified to be the user they claim to be. Assuming the authenticator uses either a facial recognition, fingerprint or PIN for user verification, the authenticator itself is something you have while the facial recognition and fingerprint (biometric) are something you are and the PIN is something you know. To initiate the authentication flow, the website indicates its intentions to the web browser via JavaScript. The web browser communicates with the authenticator using a JavaScript API implemented in the browser. A hardware authenticator in the user's possession conforms to the FIDO Client to Authenticator Protocol (CTAP), and connects over USB, Bluetooth Low Energy, or near-field communications (NFC). WebAuthn however does not strictly require a hardware authenticator. A platform authenticator (i.e., an authenticator implemented directly on the web browser or operating system) can be used. If the user has registered their keys on a different device the WebAuthn 3 specification allows for the web browser to access credentials stored on another device without having to copy over the keys to the current device.
Registration When the website receives the signed authentication assertion from the browser, the digital signature on the assertion is verified using a trusted public key for the user. To obtain a public key for the user, the website initiates a WebAuthn registration flow that is similar to the authentication flow illustrated above. The primary difference is that the authenticator now signs an attestation statement with its attestation private key. The signed attestation statement contains a copy of the public key that the website ultimately uses to verify a signed authentication assertion. The attestation certificate contains metadata describing the authenticator itself. The digital signature on the attestation statement is verified with the trusted attestation public key for that particular model of authenticator. How the website obtains its store of trusted attestation public keys is unspecified. One option is to use the FIDO metadata service. The attestation type specified in the JavaScript determines the trust model. For instance, an attestation type called self-attestation may be desired, for which the trust model is essentially trust on first use.
Level 3 WebAuthn Level 3 introduces several capabilities beyond authentication alone. The PRF (Pseudo-Random Function) extension allows a passkey to derive encryption keys, enabling it to help protect encrypted data such as backups without a separate password. Related Origin Requests (ROR) let a single passkey be used across multiple domains belonging to the same organization, reducing the need for duplicate credentials. The specification also added a section addressing the privacy implications of using WebAuthn credentials across origins, including risks associated with cross-origin iframes.
… excerpt ends here. Continue reading the full article.




