News for hackers. Stuff that matters.
Re:Ask HN: Why do many sites now put username+password entry... by dylz on Friday August 21, 2020 @05:12PM (#24238943)
SAML, single sign on, 2FA confirmation, etc.

For example, I don't know what login method a user would be using (our own password? or redirect them to their corporate's auth portal) until they enter their email.

Re:Ask HN: Why do many sites now put username+password entry... by Nextgrid on Friday August 21, 2020 @05:54PM (#24239272)
Single sign on is indeed the reason. However, I don’t agree that this behavior is a good thing - as an industry we’ve failed; we’re inconveniencing a large chunk of users because of an implementation detail. SSO should’ve either been implemented transparently in the underlying protocols or the browser (like Kerberos actually is) or at the very least provide separate login pages so that regular users can bookmark the right one and avoid wasting time if they are not using SSO.
Re:Ask HN: Why do many sites now put username+password entry... by popotamonga on Friday August 21, 2020 @06:31PM (#24239555)
they could just hide/show the passw field and not put it on a diferent page. make the email request on background
Re:Ask HN: Why do many sites now put username+password entry... by pests on Saturday August 22, 2020 @02:04AM (#24242022)
Bad UX imo. User types email and then the password field disappeared! How am I gonna log in now?
Re:Ask HN: Why do many sites now put username+password entry... by NicoJuicy on Friday August 21, 2020 @08:45PM (#24240558)
SPA apps wouldn't like that, security wise.
Re:Ask HN: Why do many sites now put username+password entry... by ta17711771 on Saturday August 22, 2020 @01:14AM (#24241740)
SPA?
Re:Ask HN: Why do many sites now put username+password entry... by bruce511 on Saturday August 22, 2020 @02:25AM (#24242120)
Single page application.

Basically a single page request (that then immediately fetches all the associated JaveScript and CSS) to run the entire app.

It is popular now because its a very small step from that to having a PWA (progressive Web application) which is progressive in the sense that it can be completely cached on the users device, and work with no connection to the Internet.

It also improves page-load performance in connected situations by there being no pages to load (after the first one).

While a solid approach, SPAs can suffer from long initial load times, as well as a tendancy to suffer from complexity that comes with any monolithic large app.

Re:Ask HN: Why do many sites now put username+password entry... by TheJoeMan on Friday August 21, 2020 @09:18PM (#24240746)
Then we all have to enter our email twice. Why not just ask for the info you actually want: login with password or login with sso buttons
Re:Ask HN: Why do many sites now put username+password entry... by imnotjames on Saturday August 22, 2020 @11:30AM (#24244752)
Because you could have thousands.

Log in with Corp acme. Log in with palantir. Log in with Facebook (Corp). Log in with Facebook (end user)... Etc.

You'd have to iterate through every customer with SAML / OIDC set up.

Even if you are just using end user, it's sometimes confusing if there are 10+ options because you have to remember... Ok not only do I gotta remember my email I used, how did I originally sign up? .. was it with Google? With Facebook... No wait did I use email and password...

Re:Ask HN: Why do many sites now put username+password entry... by jonplackett on Friday August 21, 2020 @07:19PM (#24239920)
Interesting - yes that does happen with google and that seems like why

But it also happens plenty of places where single sign in isn't an option. Like the biggest two supermarkets Tesco.com and Sainsburys.co.uk here in the UK.

Re:Ask HN: Why do many sites now put username+password entry... by NicoJuicy on Friday August 21, 2020 @08:51PM (#24240601)
Guest accounts