Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to revoke access_token #37

Closed
aanders77 opened this issue Jun 16, 2022 · 1 comment
Closed

Function to revoke access_token #37

aanders77 opened this issue Jun 16, 2022 · 1 comment
Assignees

Comments

@aanders77
Copy link

Starting June 30, 2022, Apple requires that users can delete their accounts in an easy way. One recommendation is that the user's access token is revoked as part of the deletion process.
Source: https://developer.apple.com/support/offering-account-deletion-in-your-app
Documentation: https://developer.apple.com/documentation/sign_in_with_apple/revoke_tokens

Can you please add a method to revoke tokens? I tried doing it using php JWT library, but I think it doesn't support ES256 properly.

@patrickbussmann
Copy link
Owner

Hi @aanders77,

please see this example of how to use the new revoke method -> https://github.com/patrickbussmann/oauth2-apple#revoke-code-flow

Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants