Prompt
Do I need to support shared-device login if users use passkeys?
Latest observation
Usually, yes — if your product supports shared devices or multiple accounts on the same device, you should still support a shared-device login flow even when users use passkeys.
Why
Passkeys improve authentication, but they don’t eliminate the need to choose which account to sign in as on a shared device. A passkey is tied to a user account, so on a device used by multiple people, you still need a way to:
- pick the correct account,
- avoid accidentally signing into the wrong profile,
- handle users who have multiple accounts,
- support device/browser credential storage quirks.
What “shared-device login” can mean with passkeys
You may not need a separate password-style flow, but you should provide a way to:
- show an account picker,
- let users choose “use another account”,
- support multiple passkeys on the same device,
- allow fallback to another sign-in method if the passkey isn’t available.
Recommended approach
For shared devices, a good UX is:
- Show the account chooser first (or a clear “continue with passkey” per account).
- Let the user authenticate with the passkey for that account.
- Offer fallback methods if needed.
When you might not need it
If your app is strictly single-user per device, or every user has their own managed device/profile, then a shared-device login flow may be unnecessary.
Bottom line
Passkeys reduce login friction, but they don’t replace account selection on shared devices. If shared usage is a real scenario for your app, plan for it.
If you want, I can also suggest a passkey-friendly shared-device login UX pattern or a decision tree for when to require it.