Apple token exchange for social native

Hey,

trying to use this endpoint: Authentication API Explorer

Is there anything special regarding the token used for exchange?

I have a token which is generated in a mobile game, and want to exchange that for a auth0 token, does it have to be under the same bundle id and so on? What are the configurations for this endpoint to work

Hey there @dev52 !

It just needs to be a valid token from Apple, and the bundle ID should match what is configured in the Apple connection in Auth0.

You’ll need to configure an Apple connection in Auth0 first and foremost. The client ID configured in the Apple connection should be the bundle ID. I believe that should be it in terms of configuration - Assuming the configuration of the Apple connection and correct parameters the post to /oauth/token should work as expected.

Hope this helps!