Menu

1 / 2

Passkeys in Production: What I Wish I Knew Before Replacing Passwords

DEV Community·Alex Cloudstar·6 months ago
#LUEopCZt
#javascript#security#user#credential#device
Reading 0:00
15s threshold

The first passkey login I shipped to real users worked perfectly for forty minutes. Then the support tickets started.

A user with a personal MacBook and a work Windows laptop could not figure out why his iPhone passkey was not showing up on the Windows machine. A second user had set up a passkey on her phone, lost the phone in a taxi, and now could not get into her account because we had quietly deleted her password fallback when she enrolled. A third user was on a corporate-managed Chrome that had WebAuthn policy-locked to platform authenticators only, but our flow assumed roaming authenticators would always be offered.

None of these are bugs in WebAuthn. They are the gap between "passkeys work" as a protocol statement and "passkeys work for the actual humans using your product." Most articles on this topic stop at the first half.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.