告诉HN:请停止使用“悲惨链接”,这样会破坏我们的流程。
关于这个话题,HN上已经有过几次讨论:
https://news.ycombinator.com/item?id=42627453
https://news.ycombinator.com/item?id=43680597
这虽然是些“第一世界”的问题,但我还是想再强调一次。魔法链接认证存在几个令人烦恼的地方:
- 无法访问邮箱:人们可能在当前设备上或此时此刻无法访问他们的邮箱(例如,使用公共电脑、未配置邮箱的手机等)。
- 上下文切换:我故意避免查看邮箱以保持专注。被迫打开收件箱会打断我的注意力,并让我暴露在我试图避免的干扰中。
- 技术摩擦:登录邮箱可能很慢(特别是使用双重身份验证等),邮件投递可能会延迟或被归类为垃圾邮件,链接常常在不同的浏览器/应用中打开,导致会话中断。
- 使用不同设备查看邮箱意味着你无法在原设备上继续操作。
- 剪贴板干扰:用户可能已经复制了重要内容,不想替换它(仅仅是为了在正确的标签页中粘贴你的魔法链接)。
我们的要求很简单:给我们至少一个“普通人”选项!如今,每个理智的人都在使用密码管理器。(是的,如果你还没在用,那你应该开始使用!)
我认为这种趋势源于Auth0、Okta等“现代”认证提供商推动他们偏好的模式,加上“快速行动、打破常规”的心态,这种心态优先考虑开发者的便利,而忽视了用户体验。
请重新考虑一下这个问题。
查看原文
There have already been a few discussions on HN about this topic:<p>https://news.ycombinator.com/item?id=42627453
https://news.ycombinator.com/item?id=43680597<p>First world problems, but I'll emphasize it one more time. There are several annoyances with magic link authentication:<p>- No email access: People might not have access to their email on the current device or at that moment (using a public computer, phone without email configured, etc.)
- Context switching: I deliberately avoid checking email to maintain focus. Being forced to open inbox breaks concentration and exposes us to distractions I was trying to avoid
Technical friction: Logging into email can be slow (especially with 2FA, etc), mail delivery can be delayed or end up in spam, links often open in a different browser/app, breaking the session
Using a different device to check email means you can't continue on your original device.
- Clipboard disruption: Users might have something important copied and don't want to replace it(just to paste your magic link in the right tab)<p>The ask is simple: Give us at least one "normie" option! Every sane person nowadays uses a password manager anyway. (Yes, if you don't - you should be using one!)<p>I believe this trend stems from Auth0/Okta/etc/"modern" auth providers pushing their preferred patterns, combined with a "move fast and break things" mentality that prioritizes developer convenience over user experience.<p>Please - reconsider it.