Set up Google OAuth Authentication with Supabase
mainTo enable Google login, follow these steps:
Google Cloud Console:
- Create a project and enable the Google+ API.
- Create an OAuth Client ID (Web application type).
- Add authorized redirect URIs:
https://[YOUR_PROJECT_REF].supabase.co/auth/v1/callbackhttp://localhost:3000/auth/callback(for local development)
- Copy the Client ID and Client Secret.
Supabase Dashboard:
- Navigate to Authentication > Providers.
- Enable Google.
- Paste the Client ID and Client Secret from Google.
- Save changes.