-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
featNew feature or request.New feature or request.
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
In docs for Janitor https://www.ory.sh/docs/hydra/cli/hydra-janitor have not find a solution to how to cleanup all expired access tokens from Hydra?
If access token is bound to client with client_secret_expires_at then it will correctly return not authorized request for this token
However there is no way to delete these tokens that are expired, from database
Describe your ideal solution
Add a flag to janitor -use-expires-at that uses this filed to find and delete expired tokens
Workarounds or alternatives
we have to write no SQL ourselves
Version
2.X.X
Additional Context
No response
Metadata
Metadata
Assignees
Labels
featNew feature or request.New feature or request.