-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add endpoint to Admin API to revoke access tokens #1728
Copy link
Copy link
Closed
Labels
featNew feature or request.New feature or request.help wantedWe are looking for help on this one.We are looking for help on this one.package/oauth2
Milestone
Description
Is your feature request related to a problem? Please describe.
It's currently not possible to revoke access tokens from client_credentials grants. This has been requested and I think it is a good idea to allow deletion of tokens based on the client_id. This makes sense if you lose trust in a client, for example, or if the secret changes.
Describe the solution you'd like
Similar to this API endpoint it should be possible to revoke tokens without a consent session attached as well. A good endpoint would be:
DELETE <hydra-admin>/oauth2/tokens?client_id=...
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featNew feature or request.New feature or request.help wantedWe are looking for help on this one.We are looking for help on this one.package/oauth2