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 [email protected]
or [email protected]
email, I’ll be able to register and, after email confirmation, sign into the activenode tenant. Likewise, if I own [email protected]
, I’ll be able to register an account that is legitimized on the packt tenant. With that, you’ll also gain an understanding of what it means to disable the default signup functionality – despite implementing a signup.
After having learned how email registration can be integrated within our application, I will introduce...