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

feat: granular usage_rules for tokens #121

Open
@peppelinux

Description

@peppelinux

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions