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

feat: cache calls to /.well-known/openid-configuration #1

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

zepatrik
Copy link
Member

JWKs are somewhat more complex to cache as there is already some logic for that. I will follow up on that.

defer s.Close()

for range 100 {
_, err := NewProvider(ctx, s.URL)
Copy link
Member

Choose a reason for hiding this comment

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

Verify that we receive the correct result for each cached value?

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

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

LGTM but would be good to verify that the cache returns the correct result and we don't have cache collision issues now or in the future

@aeneasr
Copy link
Member

aeneasr commented Nov 26, 2024

You can remove go 1.21 support imo

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