Passkeys for business applications: WebAuthn without the rollout pain
Passwords remain the weakest part of most business applications, and one-time codes only partly fix it because they can be phished too. Passkeys, built on the W3C WebAuthn standard, remove the shared secret altogether. The technology is mature; the remaining work is a careful rollout.
Contents
- How passkeys work
- Synced and device-bound passkeys
- A rollout that does not lock people out
- Account recovery is the real attack surface
- Where WebAuthn lives in the architecture
- Shared devices and workforce scenarios
- Worked example: introducing passkeys in a B2B portal
- Common pitfalls
- FAQ
- Checklist
- Primary sources
Key facts
- Passkeys are FIDO credentials based on public-key cryptography; the private key stays with the user's authenticator and the server stores only the public key.
- WebAuthn binds each credential to the relying party's domain, so a look-alike phishing site cannot use it.
- Passkeys can be synced across a user's devices by the platform provider, or be device-bound, for example on a hardware security key.
- NIST SP 800-63B recognises phishing-resistant authenticators and describes requirements for higher authentication assurance levels.
How passkeys work
At registration, the user's authenticator — a phone, laptop or security key — creates a new key pair for your site. The public key is sent to your server and stored with the account; the private key never leaves the authenticator. At sign-in, the server sends a random challenge; the authenticator signs it after the user unlocks it with a fingerprint, face or PIN; the server verifies the signature with the stored public key.
Nothing reusable crosses the network. There is no password to steal from your database and no code a user can be tricked into typing on a fake site. The browser includes the site's origin in what is signed, and the authenticator only offers credentials registered for that domain, which is what makes passkeys phishing-resistant.
Synced and device-bound passkeys
| Property | Synced passkeys | Device-bound passkeys |
|---|---|---|
| Where the key lives | Platform account, synced across the user's devices | One authenticator, e.g. a security key |
| Loss of a device | Usually recoverable through the platform account | Credential lost with the device |
| Typical use | Workforce and customer sign-in | Administrators, high-risk roles |
| Attestation of the device model | Generally not available | Often available |
For most users, synced passkeys offer the best balance: phishing resistance with a familiar recovery path. Privileged roles — administrators, people who can change payment details or production access — may be required to use device-bound keys whose model can be verified through attestation.
A rollout that does not lock people out
- Offer, do not force — add passkeys as an option next to the existing login, and prompt users to create one after a successful sign-in.
- Support several per account — users should register more than one authenticator, and see and remove them in their profile.
- Use conditional UI — browsers can offer passkeys in the username field's autofill, which keeps the sign-in page simple.
- Measure adoption, sign-in success rates and support tickets per method before changing policies.
- Tighten gradually — require passkeys for privileged roles first, then remove weaker methods where adoption allows.
The goal is that the stronger method becomes the easiest one. Users who sign in with a fingerprint in two seconds rarely ask for their password back.
Account recovery is the real attack surface
Strong sign-in is undermined if recovery is weak. If anyone who knows an email address can reset an account and register a new passkey, attackers will simply target recovery. Design it with the same care:
- Encourage at least two registered authenticators, so losing one device is not a recovery event.
- For business applications, route recovery through an administrator or identity verification process rather than email alone.
- Notify users of every new credential registration and every recovery.
- Apply a cooling-off period or extra review for recovery of privileged accounts.
Where WebAuthn lives in the architecture
In most organisations, applications should not implement WebAuthn individually. An identity provider that speaks OpenID Connect — a commercial service or a self-hosted product such as Keycloak — handles registration, authentication and recovery, and applications receive standard tokens. That keeps the cryptographic details, credential storage and policy in one place.
The identity provider can expose which authentication method was used through claims such as amr (authentication methods references) and acr (authentication context class). Applications can then require a phishing-resistant method for sensitive actions — changing bank details, granting access, exporting data — and ask for step-up authentication when the current session does not meet that level.
Shared devices and workforce scenarios
Business applications have situations consumer apps rarely meet. Staff may use shared terminals in a warehouse or at a reception desk, locked-down laptops where browser profiles are reset daily, or virtual desktops where platform authenticators are not available. A passkey strategy needs an answer for each of them.
Cross-device sign-in helps: the browser shows a QR code, the user scans it with a phone that holds the passkey, and the phone confirms over a short-range channel. Roaming security keys work on shared terminals because the credential travels with the person, not the device. Where neither is possible, keep a well-protected fallback and limit what sessions from that fallback may do.
Plan offboarding as well. When an employee leaves, disabling the account in the identity provider must invalidate all of their credentials and sessions immediately, regardless of which devices still hold synced passkeys.
Session lifetime is the other half of the picture. A phishing-resistant sign-in protects the moment of authentication; long-lived sessions and refresh tokens decide how long that protection lasts. Set session and token lifetimes per risk level, bind sessions to the device where the platform allows it, and require fresh authentication for the most sensitive actions even within an active session.
Worked example: introducing passkeys in a B2B portal
A B2B customer portal uses passwords with optional one-time codes through a central OpenID Connect provider. Phishing attempts against customer administrators are increasing.
- Passkeys are enabled in the identity provider. After each password sign-in, users see a one-click prompt to create one.
- Conditional UI is enabled on the sign-in page; users with a passkey are offered it in the username field.
- After three months, the portal requires a phishing-resistant method — indicated through the
amrclaim — for administrators and for changes to company bank details. - Recovery for administrators goes through the customer's other administrator plus a support review, never through email alone.
- Support tickets about forgotten passwords decline as adoption rises; the team tracks sign-in success rate per method to catch usability problems early.
The application code changed only in a few places: checking the authentication method for sensitive actions and triggering step-up when needed.
Common pitfalls
- Forcing passkeys on all users at once, before recovery is designed.
- Allowing only one authenticator per account.
- Email-only recovery that bypasses the stronger sign-in.
- Implementing WebAuthn separately in every application.
- Not exposing the authentication method to applications, so sensitive actions cannot require it.
- Ignoring users on shared or locked-down devices when planning policies.
FAQ
Do passkeys replace multi-factor authentication?
A passkey sign-in combines possession of the authenticator with a local biometric or PIN, so it typically counts as multi-factor and is phishing-resistant.
What happens if a user loses their phone?
With synced passkeys, they restore access through their platform account on a new device. With device-bound keys, they use another registered authenticator or the recovery process.
Do we need attestation?
Only where you must restrict which authenticator models are allowed, typically for privileged roles. Many deployments do not require it for regular users.
Checklist
- Passkeys offered alongside existing methods, with prompts after sign-in.
- Multiple authenticators per account, visible and removable by the user.
- Recovery designed and protected as carefully as sign-in.
- WebAuthn handled centrally by the identity provider.
- Authentication method exposed to applications via standard claims.
- Policies tightened gradually, starting with privileged roles.