-
Notifications
You must be signed in to change notification settings - Fork 312
Add method in SessionsManager to revoke a session #1099
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
Open
5 tasks done
Comments
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
Apr 16, 2025
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
Apr 16, 2025
5 tasks
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
Apr 16, 2025
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
Apr 16, 2025
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
Apr 16, 2025
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
May 20, 2025
shenie
added a commit
to shenie/node-auth0
that referenced
this issue
May 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
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
The text was updated successfully, but these errors were encountered: