Ask HN: Why aren't one-time sign in links more popular for authentication?
1–10 of 198 posts
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#2I still like the OTP process, but it is more hassle than using the password manager.
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#3https://www.w3.org/TR/capability-urls/
There are some problems though and the authentication could be called weak.
Problems is that URLs aren't regarded as secret and the irrational tendency to log everything doesn't help, as these OTP will be visible after a while.
So these OTP have to be invalidated at some point as they tend to become revealed. If expiration is necessary, you still need some form of auth to regain access.
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#4Compared to passwords in terms of security: you have to consider that the client visiting the link might not be the client with the session being authenticated, at which point there might be confusion over multiple authentication requests of mixed legitimacy around the same time. I don’t know how this is typically solved.
I think better than either for security and usability is passwordless WebAuthn with a local factor (e.g. Touch ID for Apple devices, or even a master password for a simple improvement over existing password-unlockable saved passwords), if implementing something outside the status quo.
(edit: starbugs’s point about latency is also very important.)
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#5Finally, if you ever loose your email password, you won't be able to access any of your accounts anymore...
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#6Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#7With password managers built into all modern browsers, casual users (which, lets be honest here, are by far the most of the web users) do not have to worry about typing passwords. Security be damned. If it is not invisible to the user, they will reject it.
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#8By the time I finally get to my email, the link is expired and I just give up.
Consequently, I almost never use that service.
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#9Unfortunately that also means that if I click the link by mistake the bad actor now has full access to my account. All just a misclick away.
Re: Ask HN: Why aren't one-time sign in links more popular for authentication?
#101) Something you know (e.g. a password)
2) Something you have (e.g. a token)
3) Something you are (usually biometric authrentication, like your fingerprint, a retina scan...)
Real OTPs fall in the second category, because you have some device/application that is able to generate the same OTP code as the server handling authentication without communicating with the server. Now there are some popular solutions that are still being called OTPs that instead of something you have is something that is sent to you, like SMS OTP. This isn't just quibbling, because sending something each time authentication is needed, opens up the possibility for some attacks that wouldn't be possible with proper OTPs, e.g. SIM swapping. So to answer you question:
- Just having to click on a link sent via email has the problems outlined in other comments
- having to both enter a password and having a link sent to your email address is safer than just enter a password, but
- having a true OTP, like the TOTP standard, is what provides the best security (in the category of OTPs, I'm not talking about protocols like FIDO2 and similar, because I don't know them).
EDIT: formatting