feat: jwt "exp" must consider "keyRegenerationInterval" and track time of when keys were re-generated #1233
Labels
comp-jans-auth-server
Component affected by issue or PR
kind-feature
Issue or PR is a new feature request
Milestone
Description
feat: jwt "exp" must consider "keyRegenerationInterval".
Lets say we have following flow:
To make it work we need to start track when last key regeneration was taken and set exp as :
AT lifetime = keyRegenerationInterval - (current time - last key generated time)
However it will be set only if it is less then "AT lifetime" provided from configuration or from interception script.
The text was updated successfully, but these errors were encountered: