© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
19 replies
Entropei

before_user_created auth hook not working as documented

I am trying to implement the before_user_created auth hook, but even the example from the docs doesn’t work as advertised. Rather than returning an error with the specified code and message, it returns a 500 with a message of “Invalid payload sent to hook”.

Are the docs out of data? Can I find the correct schema for the response payload anywhere?
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

Before User Created Hook works only manually
SupabaseSSupabase / help-and-questions
2mo ago
Before User Created Hook id differs from actual created ID
SupabaseSSupabase / help-and-questions
8mo ago
After User Created Hook
SupabaseSSupabase / help-and-questions
3w ago
Supabase Auth Hook (before-user-created): can I access the Origin header without using Edge Function
SupabaseSSupabase / help-and-questions
3w ago