-
Hello Team, I'm using client_credentials grant with private_key_jwt assertion. When Client is setup, the --jwks-uri is provided which fetches JWK keys from remote endpoint. The key is then cached for future use (correctly) in Hydra instead of fetching it with each request. This keys are then subsequently used to verify signature of JWT token used in assertion. Would you be able to tell me how often is key fetched from remote endpoint after initial caching? I'm trying to understand what mechanism allows for rotating this keys. Would it be possible to set timeout after which keys are fetched again? Appreciate your work and many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In case anyone is looking for the same answer, the Hydra seems to be caching keys as follows:
|
Beta Was this translation helpful? Give feedback.
In case anyone is looking for the same answer, the Hydra seems to be caching keys as follows: