ArticleslgStudy

science

WebAuthn

WebAuthn is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand WebAuthn rather than just read about it. In short: 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.

WebAuthn — main illustration
WebAuthn — illustration

Key takeaways

  • WebAuthn belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect WebAuthn to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of WebAuthn from memory before moving on to harder problems.

Reference excerpt

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.

Illustrations

WebAuthn: A typical Web Authentication (WebAuthn) flow
A typical Web Authentication (WebAuthn) flow
WebAuthn: Example of WebAuthn authentication with Android Credential Manager
Example of WebAuthn authentication with Android Credential Manager
WebAuthn: Example of WebAuthn passkey as a part of password manager Bitwarden
Example of WebAuthn passkey as a part of password manager Bitwarden
WebAuthn: Here shown the usage of passkey as a term to refer to WebAuthn credential (Bitwarden for Pixiv)
Here shown the usage of passkey as a term to refer to WebAuthn credential (Bitwarden for Pixiv)

Worked examples

Example 1 — a first encounter with WebAuthn

Start with the simplest possible case. Write down what WebAuthn claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to WebAuthn before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about WebAuthn ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of WebAuthn

In research
WebAuthn appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses WebAuthn in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
WebAuthn is common in secondary-school and first-year university syllabi. It links to neighbouring topics Authentication methods, Identification, Internet security, so understanding it makes those chapters shorter.
In everyday life
Look for WebAuthn outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “WebAuthn” →

How to study WebAuthn in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what WebAuthn means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain WebAuthn out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is WebAuthn in simple terms?

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.

Why does WebAuthn matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study WebAuthn?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on WebAuthn.

Tags

  • Authentication methods
  • Identification
  • Internet security
  • Web technology
  • World Wide Web Consortium standards

Keep exploring