# React-native Sign in with Apple - Looks like something went wrong!

**URL:** <https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486>\
**Category:** Get Help\
**Tags:** siwa-social-connection, connections\
**Created:** [February 28, 2023, 6:18pm UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486 "2023-02-28T18:18:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafael.rodriguez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rafael.rodriguez/32/34751_2.png) [@rafael.rodriguez](https://community.auth0.com/u/rafael.rodriguez)\
**Post date:** [February 28, 2023, 6:18pm UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486/1 "2023-02-28T18:18:26Z")

</div>

I 'm having troubles implementing apple sign in. I don’t get anything more than the attached screenshot. The safari console logs `[Error] Failed to load resource: the server responded with a status of 400 (Bad Request) (callback, line 0)`

 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/3/d33534a8af3aef0ae4e253d2bb6a028fdfe62008.jpeg)

My authorize snippet is as follows:

```ts
await authorize({
      connection: 'apple',
      scope: env.get().AUTH0_SCOPE,
      audience: env.get().AUTH0_AUDIENCE,
    });

```

---

<div class="post-metadata">

**Author:** ![rafael.rodriguez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rafael.rodriguez/32/34751_2.png) [@rafael.rodriguez](https://community.auth0.com/u/rafael.rodriguez)\
**Post date:** [March 3, 2023, 2:37pm UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486/2 "2023-03-03T14:37:32Z")

</div>

Please help.

new info attached: when I click on try the connection in the auth0 dashboard, I get this message:

```auto
{
  "error": "access_denied",
  "error_description": "error creating the account"
}

```

---

<div class="post-metadata">

**Author:** ![rafael.rodriguez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rafael.rodriguez/32/34751_2.png) [@rafael.rodriguez](https://community.auth0.com/u/rafael.rodriguez)\
**Post date:** [March 8, 2023, 11:18am UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486/3 "2023-03-08T11:18:18Z")

</div>

Isolated the error and fixed it. But it is still not working. Auth0 complains that the redirect\_uri is not valid yet everything seems correctly configured. Current call:

await authorize({  
connection: ‘apple’,  
scope: env.get().AUTH0\_SCOPE,  
audience: env.get().AUTH0\_AUDIENCE,  
redirect\_uri: ‘https://OUR\_AUTH0\_DOMAIN/login/callback’,  
});

If I leave the redirect\_uri blank (as is in other social logins), it will complain that there is no redirect\_uri. If I specify it with one of the allowed callback urls configured at the dashboard, it will complain that it is not in the valid callback url list

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 8, 2023, 2:10pm UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486/5 "2023-03-08T14:10:21Z")

</div>

Hi @rafael.rodriguez,

Can you please confirm if the error is coming from Auth0 or Apple?

---

<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:** [April 24, 2023, 1:47pm UTC](https://community.auth0.com/t/react-native-sign-in-with-apple-looks-like-something-went-wrong/101486/6 "2023-04-24T13:47:53Z")

</div>

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