News for hackers. Stuff that matters.
Re:Don’t Get Clever with Login Forms by jakob223 on Friday February 15, 2019 @03:21PM (#19174355)
Dropbox does an AJAX request when you enter your username, and it's fast enough that when you get to the password field it's already greyed out if you use SSO.
Re:Don’t Get Clever with Login Forms by khalilravanna on Friday February 15, 2019 @06:11PM (#19175626)
This should be the answer. As soon as the user enters a valid email (regex test) send a request to server to figure out what path they need to go down in the “federated flow”. What we shouldn’t do is diminish the experience for some because the flow for some others is different.
Re:Don’t Get Clever with Login Forms by underwater on Friday February 15, 2019 @09:24PM (#19176610)
You shouldn't have a giant sign asking people for something they don't have, it's confusing and discourages people from using your product.
Re:Don’t Get Clever with Login Forms by franciscop on Friday February 15, 2019 @10:08PM (#19176795)
It should be onblur, otherwise you'd send requests for:

- [email protected]

- [email protected]

- [email protected].

- [email protected]

- [email protected]

And you'd have to account for all those tricky race conditions happening there

Re:Don’t Get Clever with Login Forms by pmontra on Friday February 15, 2019 @11:30PM (#19177078)
And [email protected] could be the email of another user, so you'll never be able to login with yours.
Re:Don’t Get Clever with Login Forms by velobro on Saturday February 16, 2019 @12:52AM (#19177300)
HelpScout's login is anothrt good example! Definitely echoing other's thoughts that it's the correct way to handle it