Similar to this question Restrict Supabase Sign up to a specific domain ... I am needing to restrict signup to my SPA Supabase project to specific emails contained in a membership table. Work flow would be: web page has sign up form submitted - form's email address is checked to see if it is exists in a members table - if yes, proceed with sign up - if rejected, inform with message on the client. I know I could send sign up requests thru a backend similar to the other question's reply but the point of using Supabase is to take away the backend. Could I create a function/trigger similar to the previous question here: Restrict Supabase Sign up to a specific domain to solve this? Project is a Vue3 SPA. Thanks for any replies!
Asked
Active
Viewed 72 times