© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
10 replies
juanvilladev

Restrict signups to only service_role

I'm curious if I can create user accounts using the service_role key?
My app needs to have sign-up disabled, but when testing I need to create accounts. I was thinking of using the service_role key to do so. I just tried and received an error: [Error: Email signups are disabled]
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

Assign roles at signups
SupabaseSSupabase / help-and-questions
4y ago
Alternative to service_role key?
SupabaseSSupabase / help-and-questions
3y ago
JWT Service Role Key
SupabaseSSupabase / help-and-questions
4d ago
understanding service_role key
SupabaseSSupabase / help-and-questions
3y ago