7
Adding Tenant-Based Signups, including Google Login
At this point, you have created a secure multi-tenant setup. However, signing up by oneself is currently not implemented – we have only created users manually in Supabase Studio so far.
In this chapter, we will now introduce a registration process where users with an email matching the tenant domain can sign up, gaining automatic access to the corresponding tenant. That means that if I own the bearclaw@activenode.learn or rabbit@activenode.learn email, I’ll be able to register and, after email confirmation, sign into the activenode tenant. Likewise, if I own nicebooks@packt.local, I’ll be able to register an account that is legitimized on the packt tenant. With that, you’ll also gain an understanding ...
Get Building Production-Grade Web Applications with Supabase now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.