Skip to content

Missing delete refresh tokens from a user #380

Description

@emmaLP

Checklist

Describe the problem you'd like to have solved

In the management API users sections, there is an API endpoint for revoking refresh tokens for a user
https://auth0.com/docs/api/management/v2/users/delete-refresh-tokens-for-user

This functionality is not exposed in the SDK

We have a required during GDPR deletion to revoke a user's refresh tokens and block the user, before proceeding to delete the user. This is to prevent a user from having a validate access token and the ability to exchange a refresh token for an access token once they have requested a deletion

Describe the ideal solution

Add functionality to the SDK to be able to call this api: https://auth0.com/docs/api/management/v2/users/delete-refresh-tokens-for-user

Alternatives and current workarounds

If this is not implemented, we would need to call the API direct rather than having the SDK manage authentication etc on our behalf.

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions