Handling Supabase Login Errors

Hi there,

I’m using the built-in Supabase integration in my FF app, and I’d like to know if Supabase is able to provide error messages to my FF app when a user makes a mistake in the email/password field during the login process so that I can handle the provided errors in my app.

To clarify further, I have successfully added a Supabase login feature to my app.

And when I insert the correct email and password, I’m obviously able to log in with no issues.

But when I make a mistake in the email/password field and click the log-in button, the app just loads and doesn’t do anything.

And obviously, Supabase can’t authenticate the user because there’s an error, so I’d like to know if Supabase can provide the error message to my FF app (e.g. if the provided email or password is incorrect, Supabase should relay that message to my FF app) so that I can communicate the same error to the user so that he knows which field he needs to correct.

Thanks in advance :)

14
8 replies