Hacker News new | ask | show | jobs
by ripperdoc 1459 days ago
Good diagrams, as is needed in any authentication flows where the devil always end up lurking in the details! But I have a general concern on passwordless. We recently tried switching a SaaS app to Firebase passwordless but it has been a support nightmare. Typical error cases:

a) User has to wait many minutes for email

b) User never finds the email

c) User clicks to get another email, invalidating the first, then clicking the first

d) User tries to re-use old sign-in emails to get in again many days later

e) User gets confused as to whether they are supposed to have a password or not, or other forms of sign-in vs passwordless

At best, these problems amount to some support work and user friction. But in the worse case, for the not so tech-savvy users, they become a complete blocker to using the product.

Of course, we cannot track deliverability when the emails are sent by Firebase so we can't really see how often there are problems. Are we just unlucky, missing something obvious or is passwordless a poor bandaid on the auth problem (hey, webauthn?)

2 comments

Another good reason to avoid "passwordless" and magic links in email from https://news.ycombinator.com/item?id=31892299 is that some email clients or server stacks "click" on links, and perhaps even use their search crawlers to index sites they visit from the links.

That could result in private user content being indexed by the crawler if it's not configured correctly, or if it didn't realise this.

This also introduces another complication on figuring out whether the user clicked it twice, or whether one click was actually the email server provider doing some "scanning" by clicking all the private links in the email...

HTTP GET is idempotent by the spec. If you login by visiting URL it is not according to the HTTP spec. You should any case have a button that says Login and does HTTP POST.
With some mail providers using grey listing heavily, I don't even know why passwordless via email link click is a thing. I hate it with a passion.