superlogin
superlogin copied to clipboard
Creating more helpfull login errors
We're noticing that failed logins attempts are a big source of confusion for users, especially when combining multiple providers (facebook, google, local).
Currently, when a user enters an invalid username/E-mail and/or password they simply get a "Invalid username or password" warning. We'd like to find a way to make that more helpfull.
Maybe check if an E-mail / login exists and check if the right provider is used.
Is there a way to do this with Superlogin?
The only way I can currently think of doing this is overring the login routes and adding some checks.
I could also partly do this client sided by using the GET /validate-email/
route, but that wouldn't give me information about providers and if might get unexpected results with invalid emails.