Passkeys and WebAuthn: A Product Team's Guide to Dropping Passwords

How passkeys work, why they resist phishing, what the user experience looks like, and how to roll them out with sensible fallbacks without locking customers out.

DIDatainter TeamJAN 30, 20268 MIN READTECHNOLOGY

Passwords fail in predictable ways. People reuse them, phishing sites harvest them, databases leak them, and support teams spend a large share of their time resetting them. Passkeys, built on the WebAuthn standard and the FIDO2 specifications, replace the shared secret with a cryptographic key pair that never leaves the user’s device in a usable form.

For product teams, the interesting questions are not about cryptography. They are about experience and operations: what the user sees, which accounts to migrate first, what to do when a phone is lost, and how to measure success. This guide covers the security model briefly, then focuses on rollout.

How passkeys work

A passkey is a public-private key pair created for one specific website or app.

  • Registration: your server sends a random challenge. The user’s device (the authenticator) creates a new key pair, stores the private key, and returns the public key plus a signed attestation of the operation. Your server stores the public key and a credential ID.
  • Authentication: your server sends a new challenge. The device asks the user to unlock with Face ID, a fingerprint, or a device PIN, signs the challenge with the private key, and returns the signature. Your server verifies it with the stored public key.

Three properties follow from this design:

  1. Nothing secret is stored on your server. A database breach exposes public keys, which are useless to an attacker.
  2. Credentials are scoped to your domain. The browser includes the origin in what is signed, and the authenticator only offers a passkey for the matching relying party ID. A lookalike phishing domain cannot obtain a valid signature, which is why passkeys are considered phishing-resistant.
  3. Biometrics never leave the device. The fingerprint or face scan only unlocks the local key; it is not sent to you.

Synced versus device-bound passkeys

Early WebAuthn credentials lived on one hardware key or one device. Modern passkeys are usually synced: the platform credential manager (iCloud Keychain, Google Password Manager, Windows Hello with supported managers, or third-party password managers) backs up the private key end-to-end encrypted and makes it available on the user’s other devices.

Type Where the private key lives Strength Weakness
Synced passkey Platform or password manager, encrypted sync Easy recovery, works across devices Security depends on the sync account
Device-bound passkey One device or security key Strongest assurance, good for high-risk roles Loss means recovery flow required
Cross-device (hybrid) Phone used via QR code and Bluetooth proximity Lets a phone sign in on a laptop of another ecosystem Requires Bluetooth and a nearby phone

For consumer products, synced passkeys are the practical default because they remove the lost-device problem for most users. For administrators, finance approvers or staff with privileged access, consider requiring device-bound security keys, and use attestation if you need to verify the authenticator model.

Technology · Passkeys and WebAuthn: A Product Team's Guide to Dropping Passwords

What the user experience looks like

The best passkey flows are almost boring. On a returning visit, the user focuses the username field, the browser shows an autofill suggestion with their account, they tap it, confirm with Face ID or a fingerprint, and they are in. This is called conditional UI, or passkey autofill, and it is the single most important implementation detail for adoption, because it requires no new concept from the user.

Practical UX guidance:

  • Do not call it “WebAuthn” in the interface. Use plain wording such as “Sign in with a passkey” and “Use your fingerprint, face or screen lock.”
  • Offer creation at moments of success. Right after a user signs in with a password or an email code, show a prompt: “Next time, sign in faster with a passkey.” Avoid interrupting a task or asking during checkout.
  • Explain the benefit in one sentence. Faster, no password to remember, protected against fake sites.
  • Let users manage passkeys. Provide a settings page listing registered passkeys by a friendly name and creation date, with rename and remove actions.
  • Handle cancellation gracefully. If the user dismisses the system dialog, return them to the form without error banners.

Conversion data varies by audience, but teams commonly report that passkey sign-ins complete faster and with fewer failures than passwords plus SMS codes, and that password reset volume drops once a meaningful fraction of active users have enrolled. Measure your own numbers rather than trusting averages.

Implementation essentials

You do not need to implement the protocol from scratch. Use a maintained server library (for example SimpleWebAuthn in the JavaScript ecosystem) or an identity provider that supports passkeys, and review the official W3C WebAuthn specification or the MDN documentation for details. A minimal browser-side authentication call looks like this:

const options = await fetch("/auth/passkey/options").then(r => r.json());

const credential = await navigator.credentials.get({
  publicKey: options,          // includes challenge, rpId, userVerification
  mediation: "conditional",    // enables autofill UI
});

await fetch("/auth/passkey/verify", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify(credential),
});

Server-side checklist:

  • Generate a fresh, random, single-use challenge per ceremony and expire it within a few minutes.
  • Verify the origin, relying party ID hash, challenge, signature and the user-verification flag.
  • Store the credential ID, public key, signature counter (where meaningful), transports, creation time and a user-visible label.
  • Use a stable, random user handle that is not an email address.
  • Set userVerification to “required” for sign-in on sensitive products, “preferred” elsewhere.
  • Keep the relying party ID consistent. Changing your domain later strands existing passkeys unless you use related origin requests for multiple domains.

For native mobile apps, iOS and Android support passkeys through platform APIs, and associating your app with your domain through the Apple App Site Association file and Android Digital Asset Links lets the same passkey work on web and in the app.

Account recovery is the real security perimeter

Attackers go where the controls are weakest. If a passkey is phishing-proof but the “forgot access” flow sends a reset link to an email inbox protected by a weak password, your effective security is that of the email account.

Design recovery deliberately:

  • Encourage at least two passkeys per account, for example one on a phone and one in a password manager or security key.
  • Keep verified email or phone as a recovery channel, but add friction proportional to risk: delays, notifications to existing devices, and re-verification before sensitive actions.
  • For regulated products, add identity re-verification (document check plus liveness) for recovery of high-value accounts.
  • Send alerts whenever a passkey is added or removed, and consider a cooling-off period before newly added credentials can authorize withdrawals or changes to payout details.

A passkey rollout is only as strong as the weakest recovery path you leave open next to it.

A phased rollout strategy

Phase 1: Add, do not replace. Ship passkeys as an additional sign-in method alongside your current one. Instrument everything: prompt shown, creation started, creation succeeded, sign-in attempted, sign-in succeeded, fallback used.

Phase 2: Promote to engaged users. Target frequent users on supported devices with the post-login prompt. These users gain the most and generate support load the least. Aim for a clear adoption goal, such as 30 to 40 percent of monthly active users in the first quarter, and adjust to your product.

Phase 3: Make passkeys the default. Change the sign-in page so the passkey option (and autofill) leads, with email code or password demoted to “Other ways to sign in.” New sign-ups can start with a passkey plus a verified email.

Phase 4: Reduce password exposure. For users with a passkey, allow them to remove the password entirely, and stop prompting for periodic changes. Passwords that remain should be checked against breached-password lists and protected by rate limiting.

Phase 5: Tighten for high-risk roles. Require device-bound keys or passkeys with user verification for administrators, and use passkeys as the step-up factor for sensitive actions.

Keep a rollback switch for each phase. A feature flag per platform and browser lets you pause enrollment if a bug appears in a specific OS release.

Fallbacks that do not undermine the model

Not every user can use a passkey on day one. Older devices, shared computers, locked-down corporate browsers and some embedded WebViews lack support. Provide fallbacks in order of preference:

  1. Cross-device sign-in with a phone via QR code.
  2. Email one-time code or magic link, rate limited and bound to the session that requested it.
  3. TOTP authenticator app or SMS code as a last resort, understanding that SMS is vulnerable to SIM swapping and interception.
  4. Password plus a second factor for legacy accounts.

Detect capability with PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() and isConditionalMediationAvailable() before showing prompts, so unsupported users never see a button that fails.

Also test in-app browsers. Social media in-app browsers and some embedded WebViews restrict credential APIs, and a user who taps a link in a chat app may land in an environment where passkeys silently fail. Offer an “open in your browser” path.

Metrics to watch

  • Enrollment rate among prompted users and among all active users.
  • Passkey sign-in success rate versus password and code success rates.
  • Time to sign in, measured from page load to authenticated session.
  • Support tickets tagged “cannot sign in” and password reset volume.
  • Fallback usage after a passkey failure, which indicates UX or device problems.
  • Account takeover reports, which should fall as passkey coverage rises.

Segment by browser, OS version and device type. A global success rate hides a broken Android build or an outdated desktop browser.

Key takeaways

  • Passkeys use per-site key pairs, so there is no shared secret to steal and phishing sites cannot obtain valid signatures.
  • Conditional UI (autofill) is the most important UX element: it makes passkey sign-in feel familiar and drives adoption.
  • Use a maintained WebAuthn library or identity provider, keep a stable relying party ID, and store only public keys and metadata.
  • Design account recovery as carefully as sign-in; it determines your real security level.
  • Roll out in phases: add, promote, default, reduce passwords, then enforce for high-risk roles, with feature flags and metrics at each step.
  • Keep graceful fallbacks such as email codes and cross-device sign-in, and test in-app browsers and older devices.
#passkeys#webauthn#authentication#security
DI
Datainter TeamEngineers, designers and operators building software and fintech products from Medellín, Tigard and Luxembourg.

Building something in this space?

Talk to the team that ships and operates it. We reply within one business day.

Start a project
Chat with us on WhatsAppUSUALLY REPLIES WITHIN MINUTES