Summary
Fantastic job! You’ve nailed tenant-bound registration.
You’ve learned about the signUp()
method to create Supabase users. With that, you were made aware of the issue of having orphan users and implemented a signup with the help of createUser
, albeit a disabled signup.
In the process of implementing the signup flow, you gained knowledge about sending account activation links, which are just magic links with a twist.
You also added the cool feature of signing in with Google accounts, and with that, you’ve set up Google credentials for Supabase and learned that external providers require signups to be enabled, which highlighted the problem of orphan users once more.
On top of that, you were shown the tools at hand to test OAuth with local domains by using HTTPS locally.
In the final stretch, you gained insights into the options to consider to handle orphan users.
With all of these essential foundations squared away, let’s shift gears...