Enabling OAuth/Sign-in with Google
Supabase has a massive amount of login provider options: Google, Slack, Apple, Discord, Bitbucket, and many more, with the list quickly growing. It’s impossible to explain them all, but luckily, they all follow the OAuth standard, which means that if we show you one implementation, you’re prepared to implement the others. If you would like to learn more about the OAuth standard, you can dig deeper at https://en.wikipedia.org/wiki/OAuth.
To enable you to use whatever login provider you want, we’ll implement the Google login and play it through with the oddmonkey.inc
host. Be aware that due to security constraints, making this run on your local development system requires dealing with HTTPS, but that’s not a problem as we’ll solve it together.
Here’s what we need to do:
- Obtain Google OAuth credentials.
- Configure our Supabase with the OAuth credentials.
- Add a “Sign in with Google...