You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As documented, all auth errors are meant to come through with an error code:
Errors originating from the server API classed as AuthApiError always have a code property that can be used to identify the error returned by the server.
However, this doesn't appear to be the case with "invalid login credentials" errors:
Bug report
Describe the bug
As documented, all auth errors are meant to come through with an error code:
However, this doesn't appear to be the case with "invalid login credentials" errors:
To Reproduce
supabase.auth.signInWithPassword({ email, password })
with invalid credentials.Expected behavior
There should be an error code in the
AuthApiError
object, instead ofundefined
.Screenshots
N/A
System information
Additional context
The text was updated successfully, but these errors were encountered: