Prompt
How do I replace password resets with passwordless login?
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
Replacing password resets with passwordless login is usually a great UX/security improvement. The basic idea is:
- stop relying on “forgot password” as the primary recovery path
- let users sign in with a magic link, passkey, or OTP
- use account recovery and step-up verification for rare edge cases
Best options for passwordless login
1. Passkeys (best modern option)
Users sign in with:
- Face ID / Touch ID
- Windows Hello
- security keys
- device biometrics
Pros
- very secure
- phishing-resistant
- no codes to type
- reduces support tickets dramatically
Cons
- some users still need fallback methods
- implementation is more involved than email magic links
2. Magic links by email
User enters email, gets a link, clicks it to log in.
Pros
- easy to understand
- simple to roll out
- no password to remember
Cons
- email access becomes the security boundary
- vulnerable if email account is compromised
- slower than passkeys
3. One-time passcodes (OTP) via email or SMS
User enters a short code sent to their email/phone.
Pros
- easy to implement
- familiar pattern
Cons
- SMS is weaker and more attack-prone
- codes can be phished or intercepted
- less elegant than passkeys
A practical migration path
Phase 1: Add passwordless alongside passwords
- Keep passwords for existing users
- Add passkey / magic-link login as an alternative
- Let users choose “Log in without password”
Phase 2: Move recovery away from passwords
- Replace “Forgot password?” with:
- “Send me a sign-in link”
- “Use a passkey”
- “Recover my account”
- For users who still have passwords, keep password reset only as a backup path during transition
Phase 3: Encourage enrollment in passkeys
- Prompt users after login:
- “Set up a passkey for faster sign-in”
- Make passkeys the default for returning users
Phase 4: Deprecate password resets
- After most users have migrated, reduce prominence of password reset
- Keep a secure recovery flow for account regain, not password change
What to do for account recovery
If you remove password resets, you still need a way for users to regain access if they lose a device/email:
Strong recovery options
- verified backup email
- backup codes
- recovery passkey on another device
- identity verification flow for high-value accounts
- support-assisted recovery for sensitive cases
Avoid relying on
- SMS-only recovery
- security questions
- knowledge-based verification These are often weak and exploitable.
Security considerations
If you use magic links or OTPs:
- make them single-use
- expire quickly, like 5–15 minutes
- bind them to the original request context if possible
- rate-limit requests
- detect suspicious login attempts
- notify users of login events
- protect against email forwarding abuse
If you use passkeys:
- support multiple passkeys per account
- allow users to rename/revoke devices
- provide fallback recovery
- use WebAuthn/FIDO2 standards
UX recommendations
- Replace “Forgot password?” with “Can’t sign in?”
- Offer options:
- Continue with passkey
- Send a login link
- Use a code
- Keep the flow short:
- enter email
- verify possession
- log in
- After login, prompt to set up a passkey
If you still need passwords for some users
You can still reduce resets by:
- allowing passwordless login even for password accounts
- making password reset secondary
- encouraging passkey enrollment on successful login
- offering recovery codes or backup devices
Recommended default design
If you want the best balance of security and usability:
- Use passkeys as the primary login method
- Use email magic links as fallback
- Use backup codes or verified recovery for account recovery
- Keep passwords only as a temporary compatibility layer
If you want, I can also help you design:
- a passwordless login UX flow
- a migration plan for existing users
- the backend architecture for magic links or passkeys