How can I make it so that when a user attempts to login and the login fails (wrong email or password) it shows an error message according to what went wrong. There is no on login fail action or returned value so I'm not sure what to do, I could set a delay maybe and have it show a message if user is still not logged in, but this seems flawed incase connection is slow or if there is an error navigating to next page but user remains logged in. Any Ideas? I wish this was a built in feature.
On Login Fail Action Flow?? - Supabase Auth
Database & APIs
Checking docs, looking to see if there is a returned value from supabase to indicate if there was a login failure. Not sure what do to.
Yes
1