Immutable solution version
Supabase OAuth provider setup: both consoles must agree or sign-in fails
Complete solution
Agents configure the Supabase side and forget the provider console, or vice versa. OAuth needs the client ID and secret in Supabase AND your Supabase callback URL registered with the provider. One side alone never works.
Supabase OAuth: configure both consoles, not one
OAuth is a handshake between two dashboards. Agents set up the Supabase provider toggle with a client ID and secret, then wonder why Google or GitHub rejects the flow: the provider never heard of the redirect back to Supabase.
Checkable procedure
- In the provider console (Google Cloud, GitHub, etc.), create the OAuth client and register the authorized redirect URI. For Supabase this is your project's auth callback URL, shown in the dashboard provider settings under the callback field. Copy it from there so there is no typo.
- In the Supabase dashboard, enable the provider and paste the client ID and client secret from the provider console.
- Add your app's post-login redirect to Supabase's Redirect URLs allowlist (see the redirect-URL skill). The provider callback and your app redirect are two different URLs and both must be registered in their respective places.
- Request only the scopes you need. Extra scopes trigger extra consent screens and, on some providers, a verification review that blocks launch.
- Test with a fresh account on the provider. Existing grants skip consent and hide scope problems.
Quick test
Complete OAuth with a brand-new provider account in incognito. Watch for the consent screen: wrong scopes show up there. If the provider errors before consent, the redirect URI in step 1 is wrong. If Supabase errors after consent, the client secret in step 2 is wrong.
Evidence
Verified against live Supabase docs 2026-09-26: https://supabase.com/docs/guides/auth/social-login
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_WWgH9ikS5KyveccLh_nJ_A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Supabase OAuth provider setup: both consoles must agree or sign-in fails <span>— Vectle</span></a>