# exchangeNativeSocial with Apple returns "invalid\_request: Error from apple connection (no description)"

**URL:** <https://community.auth0.com/t/exchangenativesocial-with-apple-returns-invalid-request-error-from-apple-connection-no-description/202275>\
**Category:** Get Help\
**Tags:** apple, react-native\
**Created:** [August 4, 2026, 7:25pm UTC](https://community.auth0.com/t/exchangenativesocial-with-apple-returns-invalid-request-error-from-apple-connection-no-description/202275 "2026-08-04T19:25:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sthiago](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sthiago/32/80291_2.png) [@sthiago](https://community.auth0.com/u/sthiago)\
**Post date:** [August 4, 2026, 7:25pm UTC](https://community.auth0.com/t/exchangenativesocial-with-apple-returns-invalid-request-error-from-apple-connection-no-description/202275/1 "2026-08-04T19:25:42Z")

</div>

Native Apple Sign In fails silently via exchangeNativeSocial. Try Connection (web flow) works fine, so the .p8, Team ID, Key ID and Signing Key are all valid.

**Environment**

- Tenant: dev-w6q3zpbobpnha4u6 (Development)
- SDK: react-native-auth0 v4.6
- App Type: Native (iOS)

**Config**

- Apple Services ID: com.tst.smarttire.auth0 (with Domains + Return URLs pointing to tenant callback)
- Apple Key linked to Primary App ID: com.tst.smarttire
- Sign In with Apple capability enabled on the App ID
- Auth0 Apple connection Client ID: com.tst.smarttire (Bundle ID)
- App enabled on the connection

**Flow**

1. iOS returns valid authorizationCode + identityToken (aud=com.tst.smarttire, verified by decoding the JWT)
2. App calls auth0.auth.exchangeNativeSocial({ subjectToken: authorizationCode, subjectTokenType: ‘[http://auth0.com/oauth/token-type/apple-authz-code](http://auth0.com/oauth/token-type/apple-authz-code)’, … })

**Log entry**

- Log ID: 90020260804161035780515000000000000001223372042739963715
- Connection ID: con\_6N3MrCwfn7XpW88f
- type: fens
- Apple’s response body is empty in the log

Tried both Bundle ID and Services ID as conn

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [August 5, 2026, 5:36pm UTC](https://community.auth0.com/t/exchangenativesocial-with-apple-returns-invalid-request-error-from-apple-connection-no-description/202275/3 "2026-08-05T17:36:42Z")

</div>

Hi @sthiago,

Welcome to the Auth0 Community!

I understand that you are encountering an issue in setting up a Native Apple Connection and exchanging the Apple token for an Auth0 token.

The most common reason when receiving the **“Error from apple connection: (no description)”** error message is related to having a `nonceEnabled` parameter that defaults to true. Setting `nonceEnabled` to `false` allows Auth0 to exchange and validate the authorization code.

During a **Native Flow** via `exchangeNativeSocial`, **your React Native app is the initiator**. Your app requests the authorization code from iOS directly. Because Auth0 did not initiate this request, it has no context about the security parameters used. If those parameters do not match perfectly, Apple silently rejects Auth0’s validation attempt, resulting in the empty error response: `Error from apple connection: (no description) (undefined)`.

In order to fix this, if your app does not strictly require nonce verification, disable it in your Apple Authentication configuration by setting a **`nonceEnabled: false`** flag, as mentioned by our [Add Sign In with Apple to Native iOS Apps](https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/apple-native) documentation as well. I would highly recommend checking all the steps listed here so they can match with your configuration, as well as the [Token Exchange for Native Social](https://auth0.com/docs/api/authentication/token-exchange-for-native-social/token-exchange-native-social) page.

Other possible things to check in your configuration would be to:

1. Ensure your Auth0 Dashboard is mapped correctly by setting the Client ID to your Apple Services ID (e.g., com.tst.smarttire.auth0) under Authentication \> Social \> Apple, and setting your Bundle ID to your iOS App Bundle ID (e.g., com.tst.smarttire) under Applications \> [Your Native App] \> Advanced Settings \> Device Settings.

2. Verify that the `client_id` parameter passed into your `exchangeNativeSocial` code is your Auth0 Application Client ID, not your Apple Bundle ID or Apple Services ID.

3. Confirm that the `subjectToken` parameter in your payload is receiving the raw `authorizationCode` string returned by Apple, rather than the `identityToken`, since you are using the `apple-authz-code` token type.

Please let us know if this helped and if you have any other questions on the matter!  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 7, 2026, 5:37pm UTC](https://community.auth0.com/t/exchangenativesocial-with-apple-returns-invalid-request-error-from-apple-connection-no-description/202275/4 "2026-08-07T17:37:15Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
