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

Identity provider key caching behavior configurable #2920

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

strehle
Copy link
Member

@strehle strehle commented Jun 6, 2024

Issue: In UAA 74.5.x the JWKS is not cached. With newer UAAs there is a cache which is hard coded to 10 min.
If you have a fast rotation key, then this could be a problem.

Solution: deactivate the cache for such IdPs with cacheJwks=false options

Issue: In UAA 74.5.x the JWKS is not cached. With newer UAAs there is
a cache which is hard coded to 10 min.
If you have a fast rotation key, then this could be a problem.

Solution: deactivate the cache for such IdPs with cacheJwks=false
options
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/187751159

The labels on this github issue will be updated when the story is started.

@strehle
Copy link
Member Author

strehle commented Jun 6, 2024

Alternative to #2915

- the relationship with tokenKeyUrl/discovery url already explained in
  constraints section, so no need to repeat
- add some guidance to help user decide which value to pick
- update config.tokenKeyUrl doc to help user understand that
  the token key and the JWKS are the same concept.
@peterhaochen47
Copy link
Member

Thanks! LGTM. I pushed a commit to edit the docs. Please review.

@strehle strehle merged commit 2a45920 into develop Jun 11, 2024
20 checks passed
@strehle strehle deleted the feature/omitJwksCache branch June 11, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants