WebAuthn sign in (get) and conditional mediation
Signs the person in with a passkey, including autofill style suggestions.
In one line
Can sign you in with a passkey, even from the username box suggestions
Signs the person in with a passkey, including autofill style suggestions.
Proves who the person is without a password. Conditional UI shows passkeys in the username field.
What it can and can't do
What the user does: You tap Sign in with a passkey, or pick one from the username box
It can
- Ask your device to prove you hold the passkey for that site
- Show your passkeys as suggestions in the username box
- Sign you in without you typing a password
It cannot
- See passkeys for other sites
- Get your fingerprint, face or private key
- Sign you in without your confirmation
- Show username box suggestions in browsers too old to support them
How it differs between platforms: Passkey sign in works in current Chrome, Safari, Edge and Firefox. The username box suggestions are newer and not in every browser.
Browser support
| Browser | Status | First version | Note |
|---|---|---|---|
| Chrome | Supported | 67 | None |
| Edge | Supported | 18 | None |
| Firefox | Supported | 60 | None |
| Safari | Supported | 13 | None |
| Safari on iPhone | Supported | 13.3 | None |
| Chrome on Android | Supported | 70 | None |
| Samsung Internet | Supported | 10 | None |
How a site asks for it
| API | navigator.credentials.get({publicKey:{challenge,rpId,allowCredentials},mediation:'conditional'}) |
| Permissions policy | publickey-credentials-get |
| Browser compat keys | api.PublicKeyCredential.isConditionalMediationAvailable |
| How access is granted | prompt |
| What the user sees | Passkey sheet or autofill suggestion in the username field |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | No |
| How long it lasts | Per origin |
| How to take it back | Site settings |
| Inside an iframe | Same as top level; cross-origin iframes need a permissions policy where listed |
Typical flow
- Call the API
- Browser applies its access rules
- Page receives the result
Data you get
What comes back: Signs the person in with a passkey, including autofill style suggestions.
Shape: object
How often: on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
response.signature | binary | bytes | DER ECDSA about 70 to 72 bytes | Not listed |
response.authenticatorData | binary | bytes | 37 bytes plus extensions | flags UP, UV, BE, BS |
response.userHandle | binary | bytes | up to 64 bytes | user.id |
clientDataJSON | binary | bytes | JSON with challenge and origin | Not listed |
Technical limits
- Challenge must come from server; replay blocked
- Conditional mediation is silent until the user picks
- No cross site use without rpId related origin
The story
What it is
Signs you in with a passkey, even offering it in the username box.
For you
You tap the username box and your account appears in the suggestions. You tap it and confirm with your face, fingerprint or PIN. You are in without typing a thing.
For makers
Makers see higher sign in success and fewer help tickets. Because the passkey only works on the real domain, phishing fails, which protects both the user and the brand.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A player opens a game account page and signs in with a tap in the username box before a big tournament sign up closes. | Roblox, PlayStation |
| games | A cloud gaming site lets a person sign in on a smart TV browser by approving a passkey on a phone, then streams a game. | Xbox Cloud Gaming, GeForce NOW |
| banking | A bank website offers the passkey in the login field, so a customer logs in with Touch ID. | None named |
| shopping | A shopper signs in at checkout with the passkey suggestion, finishing before the cart expires. | Amazon, Best Buy |
| productivity | A team member opens an online editor and logs in with a passkey from their phone or laptop. | Google Workspace, GitHub |
| security | A fraud team treats a passkey sign in as a strong sign that the right person is present and loosens extra checks. | None named |
Risks
- Prompt can be confusing
- Depends on device lock
What the platform says
- Apple: Passkeys. Apple pitches signing in by looking at your phone or touching a sensor, with no password to type.
- web.dev (Google): Passkey autofill. Google describes passkeys that show up in the username field like saved passwords, so sign in is one tap.
Good uses and abuse
Legitimate uses
- Passwordless sign in
Known abuse
- Username enumeration if the site is sloppy
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 2 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2022-10, Chrome 108: isConditionalMediationAvailable (Safari 16, Firefox 119)
- 2024, Chrome: Hybrid transport by phone QR code
Sources
How well checked: Checked against real behavior.