I implemented a native sign in with Apple in my iOS app, after someone logs in, I have access to the user's credentials, including an identityToken (JWT).

I now want to use this authentification for my node.js / MySQL backend. What data do I have to store and how can I validate it in my database to achieve that?

I already googled / read Apple's documentation a lot but don't seem to be searching for the right keywords, help would be very appreciated!

Do I just store the jwt in the app, send it with every request to the server and verify its signature? For the node package verify-apple-id-token, I would also need a clientId, which I don't think I have since I used the native sign.

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Sep 18 at 4:13


Browse other questions tagged or ask your own question.