TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why do we now show username/password fields on separate screens?

18 pointsby restlessdesignover 4 years ago
Some time in the last year or two, it has become fashionable to have login flows consist of two individual views: one view where you enter your username&#x2F;email, and another view for your password.<p>Why the sudden divergence from rendering these within the same form in the same view? Why the extra click? It’s also annoying from the perspective of password managers when not done properly.

9 comments

carlsborgover 4 years ago
Single sign on. Users accessing online services, for example AWS console, from within the corporate environment, may not use passwords. Identity is federated from whatever corporarate directory service the org uses.
ironmagmaover 4 years ago
Those who are saying SSO should take note that it’s not really necessary to use this pattern for SSO. For example, Microsoft uses the pattern that they will redirect you as soon as your email looks like an SSO email. This has the benefit of allowing a user to enter their password before their username (not doing so being a major pet peeve of mine when copying a password from a password manager).
评论 #25406101 未加载
Raed667over 4 years ago
Twilio did explain this in their blog post<p><a href="https:&#x2F;&#x2F;www.twilio.com&#x2F;blog&#x2F;why-username-and-password-on-two-different-pages" rel="nofollow">https:&#x2F;&#x2F;www.twilio.com&#x2F;blog&#x2F;why-username-and-password-on-two...</a>
anotheryouover 4 years ago
I get the answers, but why not cache the password in the browser for the duration of the redirect?<p>edit: ah I see, sometimes cross domain, that would make the handover potentially dangerous. I thought of just keeping it in js.
fred_is_fredover 4 years ago
While we&#x27;re on this topic, why have some sites started refusing to prompt me for my password and instead are sending codes to my email. slack.com is a great example. It&#x27;s like 2FA without the first factor.
评论 #25406114 未加载
kaymanover 4 years ago
I’ve answered this previously here.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24238783" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24238783</a><p>In a nutshell it’s to handle federated identities.
throw03172019over 4 years ago
This has been brought up before and the answer was for enterprise customers. It allows other ways to login based on your account.
ecedenoover 4 years ago
It&#x27;s for enterprise (and other) customers with SSO. No all sites require two steps for this, though. HackerRank lets you leave the password field empty, and based on whether you have SSO enabled it either redirects to that or returns an error.
nonsapreicheover 4 years ago
why not using only the password?
评论 #25404289 未加载