Post

Replies

Boosts

Views

Activity

Reply to Issue with the Sign in with apple - Revoke Access Token
Finally, we could call revoke token api (appleid.apple.com/auth/revoke) successfully, and the apple id binding information is deleted under Apps Using Apple ID of Settings. The root cause is that the invalid token is used in my case. For details, please refer to this SO. And some details on this About Account deletion when users use the Sign in with Apple - https://developer.apple.com/forums/thread/706792?answerId=717873022#717873022
Jun ’22
Reply to About Account deletion when users use the Sign in with Apple
The three required values ​​are required for appleid.apple.com/auth/revoke. client_id: This is the App ID you can find in Apple Developer's Identifiers. Team ID is an excluded identifier, namely the bundle ID. client_secret: A secret JSON Web Token (JWT) that uses the Sign in with Apple private key associated with your developer account. You need to create it using JWT, and download key file from developer.apple.com/account/resources/authkeys/list token: A token that requires revoke. The token is access_token or refresh_token returned from auth/token. As for the auth/token, there are two additional parameters as below code: The authorization code received in an authorization response sent to your app. The code is single-use only and valid for five minutes. Authorization code validation requests require this parameter. It is the same to the authorizationCode key of the response of apple signing, and its type is base64. It should be decoded to utf-8 before assigning to auth/token API. grant_type: (Required) The grant type determines how the client app interacts with the validation server. Authorization code and refresh token validation requests require this parameter. For authorization code validation, use authorization_code. For refresh token validation requests, use refresh_token. Here is one sample of node.js on SO
Jun ’22