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

Missing delete refresh tokens from a user #380

Closed
1 task done
emmaLP opened this issue Apr 8, 2024 · 1 comment
Closed
1 task done

Missing delete refresh tokens from a user #380

emmaLP opened this issue Apr 8, 2024 · 1 comment
Assignees
Labels

Comments

@emmaLP
Copy link

emmaLP commented Apr 8, 2024

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

@developerkunal
Copy link
Contributor

Hi @emmaLP ,

The feature you requested has been released in version 1.6.0. Please take a look and let us know if you encounter any issues.

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

No branches or pull requests

2 participants