Skip to content

Make OAuth2 token lifetimes dynamic #1062

Open
@porcellus

Description

@porcellus

🚀 Feature

Some users may want to set token lifetimes on a token-per-token basis

Implementation details

  • adding a new input to the auth/token core apis that take the token lifetimes as optional input
    • we can then use these during re-signing to override the lifetime if provided
  • adding a new overrideable function that takes the same input as the token builder functions
    • we can call these at the same time as building payloads
  • no DB change necessary.

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