Category: Supabase and databases

Supabase Auth: captcha verification failed at registration

Read this guide in Polish

The form rejects the new user despite correct fields and acceptance of the rules.

How to identify the source of the problem

Check CAPTCHA configuration, site key and the presence of token in registration request.

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

Repair steps

Send the current captchaToken in the required parameter and handle the possibility of re-enacting the challenge.

How to Test Solution

The real user passes the test, and the lack of correct token is still blocked.

Security and restrictions

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