← All errors · Supabase

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.

Related errors

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy