Why do so many sites use passwordless login, especially email magic links? It seems fragile to rely on an email arriving and being opened securely. What are the trade-offs?
Are magic links actually secure, or do they just move the problem?
Answers
A magic link proves that someone can access the email sent to the address on the account. It moves the trust to the email account rather than asking the user to maintain another password.
That's not such a strange trade if the alternative site already lets someone reset their password by email. Passwordless also removes the site's password as a target for credential stuffing and password reuse. The email account becoming compromised is still a serious problem, though.
Reply to this answer
Magic links and passkeys are both called passwordless, but they don't have the same security properties. A link can be phished: someone could trick a user into opening or handing over a login link that authenticates the attacker.
Passkeys using WebAuthn are designed to resist phishing by binding authentication to the site's origin. Recovery still needs careful thought, since a weaker recovery method can give an attacker another way in.
_u.72+Kezdaro:
That recovery point matters if the user loses access to their device or passkey. The backup path can be the weakest part of the setup.
Reply to this answer
The implementation matters too. A magic link should use an unpredictable token, expire after a limited time, and stop working after it's used. If links stay valid indefinitely or can be reused, possession of an old email becomes much more dangerous.
Reply to this answer
Security aside, email delivery can make this a pain. Filtering, delayed delivery, or a lost email account can leave a legitimate user stuck outside. Offering another login option, such as a passkey, gives people a way around some of those problems.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Trelvani+7k:
So securing the email account matters just as much as the link itself?
_j83+veldruni.4:
Yes. A strong email login and MFA can help protect the account that receives those links.