Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

feat: granular usage_rules for tokens #121

Open
peppelinux opened this issue Sep 2, 2021 · 0 comments
Open

feat: granular usage_rules for tokens #121

peppelinux opened this issue Sep 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@peppelinux
Copy link
Member

In usage_rules ,which is set per grant, we can specify the life time of a token but also how many times a token can be used.

"usage_rules": {

For instance an access code (which is just another token) can only be used once.
This means that we can specify that a refresh token can only be used N times.

The counter will not increase for token_introspection requests.
For the moment usage_rules as set in the configuration is valid for the whole server. We probably want to be able to set usage_rules per client.

@peppelinux peppelinux added the enhancement New feature or request label Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant