Prompt
How do I prevent phishing with passwordless sign-in?
Latest observation
Passwordless sign-in can reduce phishing risk a lot, but it doesn’t eliminate it by itself. The key is to use methods that are phishing-resistant and to design the login flow so users can’t be tricked into approving a fake prompt.
Best ways to prevent phishing with passwordless sign-in
1. Use phishing-resistant authentication methods
Prefer methods such as:
- FIDO2/WebAuthn security keys
- Best protection against phishing.
- The credential is tied to the real website origin, so it won’t work on a fake domain.
- Platform authenticators like:
- Windows Hello
- Touch ID
- Face ID
- Android/iOS passkeys
These are also strong and phishing-resistant when implemented properly.
2. Use passkeys instead of email links or OTPs
If your “passwordless” method is:
- magic links via email
- SMS codes
- TOTP app codes
…those are still phishable.
Why?
- Users can be tricked into entering codes on a fake site.
- SMS and email can be intercepted or relayed.
Passkeys/FIDO2 are much safer because they validate the real domain automatically.
3. Bind authentication to the correct domain
With WebAuthn/passkeys, the credential should only work for your real domain, not lookalike domains.
Make sure:
- Your app uses the correct origin every time
- You don’t allow login on untrusted domains
- You avoid embedding auth in cross-domain flows that weaken origin checks
4. Add user verification during sign-in
Use built-in user verification like:
- device PIN
- fingerprint
- face recognition
This ensures the person using the device is the legitimate user, not just someone holding the device.
5. Protect against adversary-in-the-middle attacks
Some phishing kits act as a proxy between user and real site. To reduce this:
- Use FIDO2/passkeys
- Require origin-bound authentication
- Avoid fallback methods that can be relayed
- Consider step-up authentication for sensitive actions
6. Don’t rely on login alone
Even with passwordless sign-in, protect the account with:
- device management
- session risk checks
- MFA for recovery
- account recovery controls
- monitoring for unusual logins
7. Make recovery just as secure
Attackers often bypass strong sign-in by attacking recovery.
Secure recovery with:
- backup passkeys/security keys
- admin approval
- verified recovery codes
- delayed recovery with alerts
Avoid:
- email-only recovery
- SMS-only recovery
- security questions
8. Educate users on phishing prompts
Users should know:
- never approve login prompts they didn’t initiate
- only sign in from the official app or domain
- verify URLs carefully
- beware of QR codes or “urgent” login requests
9. Use conditional access and anomaly detection
If you’re protecting an enterprise app:
- block risky sign-ins
- require stronger auth on new devices
- check geolocation, IP reputation, and device posture
- alert on impossible travel or suspicious behavior
Recommended setup
If your goal is phishing resistance, the strongest practical setup is:
- Passkeys / WebAuthn / FIDO2
- User verification on the device
- Domain-bound authentication
- Strong account recovery
- Risk-based session controls
Bottom line
If you want passwordless sign-in that is truly resistant to phishing, use passkeys or FIDO2 security keys, not email/SMS codes. The biggest protection comes from origin-bound cryptographic login, which makes fake login pages ineffective.
If you want, I can also give you:
- a developer implementation checklist
- a comparison of passwordless methods by phishing risk
- or best practices for Entra ID / Okta / Google Workspace.