Question

Sign in with Apple works in my iOS app but gives invalid_client on the web version

Open · 62 viewsasked by wendy_l

Same Supabase project for the Expo app and a Next.js web app. Native Apple sign in (expo-apple-authentication + signInWithIdToken) works. On web with signInWithOAuth({ provider: "apple" }) Apple shows "invalid_client" before even asking for my Apple ID.

What I’ve tried

Double checked the Services ID in Supabase. Regenerated the secret key .p8 and the client secret.

Comment
Is the Services ID in Supabase's Apple provider the Services ID (web) or your app's bundle id? Web needs the Services ID with the return URL configured in Apple's portal. jb_supa
I put the bundle id. Will try the Services ID tonight. wendy_l

Activity

20 helpers notified