6 ms·
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.
by jakob223 8y ago
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.
- khalilravanna 8y agoThis 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.
- underwater 8y agoYou shouldn't have a giant sign asking people for something they don't have, it's confusing and discourages people from using your product.
- franciscop 8y agoIt should be onblur, otherwise you'd send requests for: - me@example.c - me@example.co - me@example.co. - me@example.co.u - me@example.co.uk And you'd have to account for all those tricky race conditions happening there
- pmontra 8y agoAnd me@example.co could be the email of another user, so you'll never be able to login with yours.
- velobro 8y agoHelpScout's login is anothrt good example! Definitely echoing other's thoughts that it's the correct way to handle it