Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make OAuth2 token lifetimes dynamic #1062

Open
porcellus opened this issue Oct 17, 2024 · 0 comments
Open

Make OAuth2 token lifetimes dynamic #1062

porcellus opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@porcellus
Copy link
Collaborator

🚀 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.
@porcellus porcellus added the enhancement New feature or request label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant