# Apple SIWA Error

**URL:** <https://community.auth0.com/t/apple-siwa-error/40829>\
**Category:** Get Help\
**Tags:** apple, sign-in-with-apple, apple-sign-in, auth0\
**Created:** [April 10, 2020, 12:32am UTC](https://community.auth0.com/t/apple-siwa-error/40829 "2020-04-10T00:32:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmoretadev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmoretadev/32/12929_2.png) [@jmoretadev](https://community.auth0.com/u/jmoretadev)\
**Post date:** [April 10, 2020, 12:32am UTC](https://community.auth0.com/t/apple-siwa-error/40829/1 "2020-04-10T00:32:48Z")

</div>

Hi I get this error when trying to sign in with apple.

**Exchange Failed: Error from apple connection: (no description) (invalid\_client)**

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 10, 2020, 9:32am UTC](https://community.auth0.com/t/apple-siwa-error/40829/2 "2020-04-10T09:32:12Z")

</div>

Hey there!

Can you provide us with more details regarding your implementation as we only have the information regarding error which is not helpful. Any info on the stack you use, steps to reproduce would be helpful! Thanks!

---

<div class="post-metadata">

**Author:** ![luthfifr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/luthfifr/32/13158_2.png) [@luthfifr](https://community.auth0.com/u/luthfifr)\
**Post date:** [April 30, 2020, 5:28pm UTC](https://community.auth0.com/t/apple-siwa-error/40829/4 "2020-04-30T17:28:48Z")

</div>

@konrad.sopala I’m experiencing this issue too. I’m implementing sign in with apple natively by following this tutorial: [How to Add Sign in with Apple to iOS Apps - Getting Started Guide](https://auth0.com/blog/learn-how-to-implement-sign-in-with-apple-easily/). I aslo did all the instruction in this documentation: [Add Sign In with Apple to Native iOS Apps](https://auth0.com/docs/connections/apple-siwa/add-siwa-to-native-app). To reproduce the issue just run the codes from the tutorial and then do the normal sign in with apple flow, after getting the authorization code from Apple, I convert it to string data type and then call `tokenExchange(withAppleAuthorizationCode:)`. I got the error message from that method closure. Can you help me?

Update: I solved this issue by revoking and creating new key in apple developer portal, and then I update the `client secret key sign` in social connection settings for `sign in with apple`.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 4, 2020, 7:55am UTC](https://community.auth0.com/t/apple-siwa-error/40829/5 "2020-05-04T07:55:31Z")

</div>

Thanks a lot for sharing that with the rest of community and super glad you have figured it out!

---

<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:** [May 19, 2020, 7:55am UTC](https://community.auth0.com/t/apple-siwa-error/40829/6 "2020-05-19T07:55:35Z")

</div>

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