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

example of custom cache for the jwk aggregator response #24

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhontecillas
Copy link
Contributor

Example of custom cache for the jwk aggregator response

Sometimes external JWK providers do not provide a Cache-Control header, and in that case, the jwk-aggregator, when queried does not know for how long it cache the providers response, rendering the cache: true option useless (as it does not know for how long to cache ther providers responses).

In order to not hammer the 3rd party provider, we can cache the plugin jwk service, by proxying it through an endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant