Open
Description
Checklist
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
Currently the SessionsManager supports 2 methods, get and delete. Auth0 management API provides a third endpoint under the sessions route, revoke . This method is really useful to delete a session and revoke the refresh tokens at the same time.
Describe the ideal solution
It would be ideal to add the method revoke under the SessionsManager.
Alternatives and current workarounds
My current need is to revoke all the user sessions, so I could get around revoking the refresh tokens with a call to the users.deleteRefreshTokens
method. This deletes all the refresh tokens though, not the ones associated to a specific session, so it fits my case but might not fit another one.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels