# Issues with Apple Sign-In Integration: "invalid\_client" Error

**URL:** <https://forum.bubble.io/t/issues-with-apple-sign-in-integration-invalid-client-error/323724>\
**Category:** APIs\
**Created:** [May 23, 2024, 6:33pm UTC](https://forum.bubble.io/t/issues-with-apple-sign-in-integration-invalid-client-error/323724 "2024-05-23T18:33:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [May 24, 2024, 1:40pm UTC](https://forum.bubble.io/t/issues-with-apple-sign-in-integration-invalid-client-error/323724/6 "2024-05-24T13:40:10Z")

</div>

What I said is that you CANT use oAuth2 user-agent flow Bubbe API auth option. You need to process manually. Check existing plugin demo (the one from ZQ) to understand how they work.  
However, from your side, you may need to read: [[Showcase] Manual OAuth2 Token Integration](https://forum.bubble.io/t/showcase-manual-oauth2-token-integration/79988) to understand how to configure the two first step (authorize url and exchange code for token)  
You will need to use a tool to decode the JWT token returned in token endpoint to know the user info  
After, continue to follow this guide about how to store access token and refresh it when needed

---

_[View the full topic](https://forum.bubble.io/t/issues-with-apple-sign-in-integration-invalid-client-error/323724)._
