← 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.

Still stuck after trying this? Get it fixed for $49, or you don't pay.

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

More Supabase errors and fixes →

Tools that help

  • Railway: Deploy backends and databases; new users get $20 credit.

Some links on this page are affiliate links: if you sign up or buy through them, FixStack may earn a commission at no extra cost to you. Learn more.

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy