© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
1 reply
H

auth.users table has RLS enabled — cannot sign up (500 error)

Hi Supabase team 👋

I’m having a critical issue with my project — all email sign-up requests fail with:

AuthApiError: Database error saving new user
AuthApiError: Database error saving new user


After checking, I found that
auth.users
auth.users
has
relrowsecurity = true
relrowsecurity = true
.
I understand that the
auth
auth
schema is managed internally, so I cannot disable RLS myself.

Could you please help me disable RLS on
auth.users
auth.users
and restore the default Auth schema?


Environment details:
- Project ID:
lsjozpktmapfqxqyaarw
lsjozpktmapfqxqyaarw

- Region:
ap-northeast-1 (Tokyo)
ap-northeast-1 (Tokyo)

- Platform: Web (React + @supabase/supabase-js@2)
- Error appears when calling
supabase.auth.signUp()
supabase.auth.signUp()

- Error message:
AuthApiError: Database error saving new user
AuthApiError: Database error saving new user

- SQL check result:
  select relname, relrowsecurity
  from pg_class c
  join pg_namespace n on n.oid=c.relnamespace
  where n.nspname='auth' and relname='users';
  select relname, relrowsecurity
  from pg_class c
  join pg_namespace n on n.oid=c.relnamespace
  where n.nspname='auth' and relname='users';

→ returns
true
true


Thank you for your help 🙏
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RLS Enabled on auth.users Table Blocking User Signups
SupabaseSSupabase / help-and-questions
3mo ago
Sign Up / Sign In, Users management and auth error
SupabaseSSupabase / help-and-questions
2mo ago
RLS accidentally enabled on auth.users — can't disable
SupabaseSSupabase / help-and-questions
6mo ago
No RLS on auth.users table on new project
SupabaseSSupabase / help-and-questions
13mo ago