r/iosdev • • Oct 26 '26

Native Sign in with Apple fails before credentials: “Invalid client” (-24000)

We’re developing an iOS app with React Native/Expo, expo-apple-authentication and Supabase. The native Apple sheet fails with “Sign in not complete”, and our diagnostic records show “Invalid client” (-24000) before credentials are returned to the app.

We’ve contacted Apple but haven’t received a resolution yet. We haven’t established the root cause.

Has another developer encountered this specific native authorization failure while integrating Sign in with Apple? If you resolved it, what exact change or Apple support intervention fixed it, and what evidence helped identify the cause?

We’re looking for integration/debugging experiences, rather than end-user account login issues or web OAuth token-exchange errors.

1 Upvotes

1 comment sorted by

1

u/finitoMedicine Oct 26 '26

Since it fails before any credential comes back, Supabase isn't part of the problem yet. At that point it's the entitlement in the binary and the App ID setup. What I'd check with Expo, in order:

  1. `ios.usesAppleSignIn: true` in app.json, and a new native build after adding it. You can confirm the entitlement actually made it in with `codesign -d --entitlements :- YourApp.app`.
  2. The Sign in with Apple capability is enabled on that exact bundle ID in the developer portal, and the provisioning profile was regenerated after you enabled it. EAS can keep reusing an older profile, so it's worth removing it in `eas credentials` and letting it create a new one.
  3. The bundle ID in the build really matches that App ID. Dev or preview variants with a suffix are an easy way to end up testing a different app.
  4. You're testing in a dev build or TestFlight, not Expo Go. In Expo Go the request goes out under Expo Go's identity, so it tells you nothing about your own config.

Does it also fail on a TestFlight build, or only on local dev builds?