Hi,
I’m using Supabase Auth Hook before-user-created (Postgres function) and I want to restrict user sign-ups to certain domains.
Is there a way to access the Origin header or any request domain information within this hook without using an Edge Function?
I’m looking for a mechanism that works server-side in the Supabase Auth Hook and allows me to validate the domain when a new user is created.
If possible, could you provide an example or guidance on how this can be achieved?
Thanks!