Unable to enable Google Authentication for Expo (provider shows as disabled)
I need some help with enabling Google Authentication for my Expo application.
I’ve tried several integration methods, but I consistently receive errors indicating that the Google provider is not enabled, even though it is toggled on in the Supabase Dashboard.
What I’ve tried:
1) Using the WebView flow with:
await supabase.auth.signInWithOAuth({ provider: "google" })
This returns:
{"code":400,"error_code":"validation_failed","msg":"Unsupported provider: provider is not enabled"}
2) Using the native flow with:
await supabase.auth.signInWithIdToken(...)
This results in:
AuthApiError: Provider (issuer "https://accounts.google.com") is not enabled
status: 400, code: 'provider_disabled'
Troubleshooting done
I toggled the Google Sign-In provider OFF and ON multiple times.
Verified that my Google OAuth client IDs and secrets are correct and working.
Tried both the Web OAuth flow and the native ID Token flow.
Despite all of this, Supabase continues to report that the Google provider is not enabled.
I’ve tried several integration methods, but I consistently receive errors indicating that the Google provider is not enabled, even though it is toggled on in the Supabase Dashboard.
What I’ve tried:
1) Using the WebView flow with:
await supabase.auth.signInWithOAuth({ provider: "google" })
This returns:
{"code":400,"error_code":"validation_failed","msg":"Unsupported provider: provider is not enabled"}
2) Using the native flow with:
await supabase.auth.signInWithIdToken(...)
This results in:
AuthApiError: Provider (issuer "https://accounts.google.com") is not enabled
status: 400, code: 'provider_disabled'
Troubleshooting done
I toggled the Google Sign-In provider OFF and ON multiple times.
Verified that my Google OAuth client IDs and secrets are correct and working.
Tried both the Web OAuth flow and the native ID Token flow.
Despite all of this, Supabase continues to report that the Google provider is not enabled.