Skip to content

Add support for customizing the default Token Lifetime and Scope of the middleware #4

Description

@edorphy

The scope by default is empty, meaning the token can access all resources. The lifetime also defaults to 20 minutes. These are sensible values for high-trust or high-confidence deployments but the developer should be allowed to customize them from the public interface.

Add a mechanism to enable specifying the default token scope and token lifetime.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions