WebAuthn user verification: what PINs, biometrics, and the UV flag mean
User verification is a local authenticator check. Learn what the UV flag tells a service, how WebAuthn request levels differ, and what the result cannot prove.
WebAuthn user verification (UV) is a local authenticator process that authorizes use of a credential, often through a PIN, password, or biometric. The authenticator reports that it occurred with the UV flag in the signed response. The relying party (RP) can compare that signal with its policy; it does not receive the biometric itself or a concrete legal identity.
userVerification value | Meaning to the request | What the RP should expect |
|---|---|---|
required | UV is mandatory | The ceremony fails if the authenticator cannot verify the user or the response lacks UV. |
preferred | Use UV when available | The ceremony may succeed without UV; absence of the flag alone is not a protocol failure. |
discouraged | Avoid prompting for UV | The RP does not want UV for this operation, often to reduce interaction. |
UP and UV are separate checks. Touching a key can indicate user presence (UP); entering a PIN or using a biometric may perform UV. One gesture can satisfy both. A successful UV flag means the authenticator locally approved credential use. It does not prove the personʼs legal name, service-account ownership, device management state, or the safety of the session after login. Shared PINs or multiple enrolled biometrics can also make the local result less specific to one natural person. WebAuthnʼs biometric processing is local; the service receives the UV signal, not biometric samples.
Choosing and checking a UV requirement
Decide which operations need UV. Consider stronger checks for account recovery, sensitive settings, or high-risk transactions; apply service risk policy separately from the browser prompt.
Use `required` only when the account flow can provide UV-capable authenticators and should fail without the UV flag. Explain supported PIN or device-unlock methods to users.
Use `preferred` when UV improves the flow but an authenticator without UV may still proceed. Do not reject a response solely because UV is absent unless policy actually requires it.
Use `discouraged` when the operation should not request UV. Check whether another control is needed for the operationʼs risk.
On the server, validate the signed response and request context, then enforce the chosen policy against the UV flag. A client-side success message is not a substitute.
If UV is required but unavailable, offer an allowed alternative authenticator or an approved recovery path. Repeated PIN attempts may trigger device lockout; users should follow the platformʼs official recovery method rather than repeatedly guessing. If UV was optional and the flag is absent, continue or step up only as the service policy specifies. NIST SP 800-63-4 is U.S. digital identity guidance: it does not treat biometrics as a stand-alone factor, though biometrics may be used with a physical authenticator in multi-factor authentication. This guidance should not be presented as a universal law.
Sources
[W3C Web Authentication Level 3](https://www.w3.org/TR/webauthn-3/)
[W3C WebAuthn Level 3, User Verification Requirement](https://www.w3.org/TR/webauthn-3/#enumdef-userverificationrequirement)
[NIST SP 800-63-4, Digital Identity Guidelines](https://pages.nist.gov/800-63-4/sp800-63.html)