Files
property-management-network/supabase/google-oauth-setup.md
T

33 lines
988 B
Markdown
Raw Normal View History

# Google OAuth Setup
## Step 1 — Google Cloud Console
1. Go to https://console.cloud.google.com
2. Create a new project (or select existing)
3. Go to "APIs & Services" → "Credentials"
4. Click "Create Credentials" → "OAuth 2.0 Client IDs"
5. Application type: "Web application"
6. Name: "Property Management Network"
7. Authorized redirect URIs — add:
```
https://lcumidlbsokrbkwkmklk.supabase.co/auth/v1/callback
```
8. Click "Create"
9. Copy the **Client ID** and **Client Secret**
## Step 2 — Supabase Dashboard
1. Go to https://supabase.com/dashboard/project/lcumidlbsokrbkwkmklk/auth/providers
2. Find "Google" and enable it
3. Paste the **Client ID** and **Client Secret** from Step 1
4. Save
## Step 3 — Site URL
1. Go to https://supabase.com/dashboard/project/lcumidlbsokrbkwkmklk/auth/url-configuration
2. Set Site URL to: `http://localhost:3000`
3. Add Redirect URL: `http://localhost:3000/api/auth/callback`
4. Save
Done — Google OAuth will work.