This guide walks through enabling Google OAuth for PaceRead via Supabase.
- Go to console.cloud.google.com
- Create a new project (or use an existing one)
- Navigate to APIs & Services → Credentials
- Click OAuth consent screen
- Choose External user type
- Fill in the required fields (App name, support email, developer email)
- Add the scope
emailandprofile - Save
- Click Create Credentials → OAuth 2.0 Client ID
- Application type: Web application
- Add an Authorized redirect URI:
(Find your project ref in the Supabase dashboard URL)
https://your-project-ref.supabase.co/auth/v1/callback - Save and copy the Client ID and Client Secret
- In the Supabase dashboard, go to Authentication → Providers
- Find Google and toggle it on
- Paste your Client ID and Client Secret
- Save
In Supabase Authentication → URL Configuration, add your app's URL to Redirect URLs:
- For local dev:
http://localhost:5173 - For production:
https://your-domain.com
Sign in through the burger menu. On success, your Google profile picture should appear in the top bar.