Localhost Gotcha: Too Many Dev Passkeys

What goes wrong

  • If you develop multiple apps on localhost, they all share the same RP ID.
  • You can accumulate multiple resident credentials bound to localhost.
  • A passkey-first flow may show several choices with weak app-level distinction.
  • The OS picker cannot always infer which local app you meant.

Practical ways to handle it

  • Prefer account-first login in local development when the picker gets noisy.
  • Periodically delete stale localhost passkeys from your device.
  • Use separate local hostnames when you need cleaner isolation.
  • Expect localhost to be convenient for dev, but imperfect when many apps coexist.
Intro to Passkeys
10 / 15