← All errors · SupabaseSupabase auth errors

AuthApiError: Invalid login credentials

Exact error

AuthApiError: Invalid login credentials

What it means

signInWithPassword was rejected: no user with that email/password combination could be authenticated.

Likely causes

How to fix it

  1. Check the user exists in Dashboard → Authentication → Users for this project.

  2. Offer a password reset:

    await supabase.auth.resetPasswordForEmail(email, { redirectTo: `${location.origin}/reset` });
  3. Confirm your app's Supabase URL and anon key point to the expected project.

Prevent this next time

FAQ

What does "AuthApiError: Invalid login credentials" mean?

signInWithPassword was rejected: no user with that email/password combination could be authenticated.

What usually causes it?

Wrong email or password. User signed up with OAuth or magic link and has no password. User exists in a different Supabase project (wrong URL/key).

How do I fix it?

1. Check the user exists in Dashboard → Authentication → Users for this project. 2. Offer a password reset: 3. Confirm your app's Supabase URL and anon key point to the expected project.

Related errors

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy