Category: Supabase and databases

Supabase Auth: Invalid Login Credentials for an Existing Account

Read this guide in Polish

Password login ends with refusal, although the form accepts entered data.

How to identify the source of the problem

Check whether an account exists in a given project and if UI calls the appropriate signInWithPassword method.

Compare the result for the authorized and unauthorised user, project name and exact error code.

Repair steps

Support password reset safely and check that the email is not accidentally modified.

How to Test Solution

The correct login works, and you do not reveal if the account exists if the data is incorrect.

Security and restrictions

Change permissions and scheme first on test data with backup. Do not put service role in your browser.