Skip to content

Revoke Access Token for Sign In with Apple #8065

Open
@sidan5

Description

@sidan5

New Feature / Enhancement Checklist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions