I am writing a web app for a client that uses GSuite for their company email. It's easy enough for me to write some logic for registering staff emails if I use email/pw or magic link auth, but I was curious about the OAuth methods of registering new users.
Is there a way to restrict OAuth registrations to a specific GSuite domain? So that only people with @companyname.com accounts can register using OAuth?
If so, how might I do this? Thanks for your insight.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.