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

Cache max age #98

Merged
merged 3 commits into from
Apr 3, 2023
Merged

Cache max age #98

merged 3 commits into from
Apr 3, 2023

Conversation

adamjmcgrath
Copy link
Contributor

Description

Add cacheMaxAge to the Discovery and JWKS requests and don't cache failed Discovery requests. Also a refactor to the JWKS verifier to make the cacheing logic easier to follow.

References

fixes #93

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner April 3, 2023 09:49
@adamjmcgrath adamjmcgrath merged commit d363f7e into main Apr 3, 2023
@adamjmcgrath adamjmcgrath deleted the cache-max-age branch April 3, 2023 12:07
This was referenced Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to recovery from temporarily unavailable discovery document
2 participants