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

Unknown kid refresh #13

Merged
merged 3 commits into from
Jan 10, 2024
Merged

Unknown kid refresh #13

merged 3 commits into from
Jan 10, 2024

Conversation

MicahParks
Copy link
Owner

@MicahParks MicahParks commented Jan 7, 2024

The purpose of this pull request is to add a feature that refreshes remote JWK Set resources when trying to read a key ID kid that has not been found in the local cache.

This requires rate limiting and the pkg.go.dev/golang.org/x/time/rate has been added as a dependency for that.

This pull request currently changes the default HTTP client. Anyone is invited to comment.

Copy link

@sc-tomer sc-tomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@MicahParks MicahParks merged commit 2c65b0a into master Jan 10, 2024
@MicahParks MicahParks deleted the unknown-kid-refresh branch January 10, 2024 01:39
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.

2 participants