Every WebAuthn assertion carries two flags that are easy to confuse: UP (user present) and UV (user verified). They answer different questions, and choosing the wrong policy either weakens security or locks users out.
User presence (UP)
UP means someone physically interacted with the authenticator, usually by touching the key or tapping a prompt. It proves a human was there, not which human. A stolen key with no PIN still produces UP.
User verification (UV)
UV means the authenticator itself checked that the user is its owner, with a PIN, fingerprint or face. The check happens on the authenticator. The website never sees the PIN or biometric; it only receives the UV flag in the signed authenticator data. Possession of the key plus the PIN or biometric makes the authenticator a multi-factor credential in its own right.
The userVerification option
Relying parties choose a policy when they call navigator.credentials.create() or .get():
| Value | Meaning | When to use |
|---|---|---|
required |
The ceremony fails if UV is not performed | Passwordless sign-in, privileged actions |
preferred |
Ask for UV if the authenticator supports it | General default |
discouraged |
Avoid UV prompts if possible | Key used as a second factor after a password |
The rule developers miss
The browser option is a request, not proof. Always check the UV flag on the server. If your policy is required, reject any assertion whose authenticator data has UV unset, even though the client asked for it. Our WebAuthn Playground shows the flags your authenticator actually returned, which is useful for checking this.
Practical guidance
- Passwordless or usernameless sign-in: require UV. Without a password, UV is what makes the login multi-factor.
- Second factor after a password: UP alone is acceptable, but
preferredgives stronger assurance where the key supports it. - Approving payments or bank-detail changes: require UV on a fresh assertion, so a session left open is not enough.
Testing
Run the Security Key Tester to see whether your key performed user verification. Our developer docs cover verification on the server.