OAuth Authentication Debug

Environment Check

Checking environment...

Supabase Client

Checking client...

Current User Session

Checking session...

 

OAuth Test

🍎 Apple OAuth Configuration Help

If Apple OAuth fails with "Unable to exchange external code":

  1. Apple Developer Console Setup:
    • Create/verify Services ID in Apple Developer Console
    • Configure Website URLs for the Services ID
    • Domain:
    • Redirect URL:
  2. Supabase Dashboard Setup:
    • Go to Authentication > Providers > Apple
    • Enable Apple provider
    • Enter your Services ID as Client ID
    • Generate and enter Apple Client Secret
  3. Common Issues:
    • Services ID doesn't match Client ID in Supabase
    • Redirect URL doesn't exactly match Apple Developer Console
    • Apple Client Secret expired (regenerate every 6 months)