Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
When deleting an account Apple required to revoke Sign-In with Apple access tokens by 30 June 2022 (https://developer.apple.com/support/offering-account-deletion-in-your-app), currently it is not supported using Parse-Server.
Feature / Enhancement Description
Should have the option to revoke a user's Sign-In with Apple access token.
Example Use Case
Should have the option to call a revoke Sign-In with Apple access token for the specific user from cloud code. I guess it should use the client secret (which the developer shall create separately) and the authData from users table.
Alternatives / Workarounds
Could code a dedicated cloud code function for this using REST API, but everyone support this feature would need to duplicate this.
UPDATE: Apparently this cannot be done as it seems that the refresh token (which needed to be revoked) is stored somewhere on parse server and is not easily accessible. So, As I see it there should be internal support within Parse-Server.
3rd Party References
The formal reference: https://developer.apple.com/documentation/sign_in_with_apple/revoke_tokens