Additional Social API examples

Sign In with Apple

API reference: /signin/oauth_token

Exchanges a sign-in token obtained from Sign In with Apple for an Identity Cloud social login token. Note that, with Sign In with Apple, you use the id_token member instead of the token member.

curl -X POST \
 'https://greg-stemp.rpxnow.com/signin/oauth_token' \
 -H 'Content-Type: application/json' \
 -d '{
   "provider":"apple",
   "id_token": "eyJraWQiOiJBSURPUEsxIiwiYWxnIjoiUlMyNTYifQ.eyJpc3 ... -NcGb56XEPGz"
  }'

Did this page help you?