Step 1: Initial Supabase Config
- Go to Authentication ⇒ Providers
- Enable Sign in with Google
Step 2: Configure OAuth Screen
Get the Client ID, Client Secret from https://console.cloud.google.com/
First create a new project
Click APIs & Services
Configure Consent Screen
Fill out the necessary information, but before to fill out the Authorized domain with Callback URL (for OAuth) (shown in image)
Complete the configuration process using the details specific to your application, ensuring all required fields are accurately filled
Step 3: Create OAuth Keys
Create OAuth Credentials
- Click Credentials ⇒ + Create Credentials
OAuth Client ID
Click Application Type: Web application
Add redirect URI from Supabase. Get the Callback URL from Supabase and insert it into Google's configuration (attached)
Get the resulting Client ID and Client secret and add it to Supabase