Skip to content

AADTokenValidator caching? #73

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

Closed
nickroci opened this issue Oct 13, 2021 · 1 comment · Fixed by #79
Closed

AADTokenValidator caching? #73

nickroci opened this issue Oct 13, 2021 · 1 comment · Fixed by #79

Comments

@nickroci
Copy link

Is it possible to get some caching around _get_ms_jwk? It requests that key_url endpoint per login which can add up when not using sessions. Guess it would be safe to cache the result for maybe 60s or something?

@djpugh
Copy link
Owner

djpugh commented Feb 25, 2022

Hmm, yeah, a good idea - it should be fairly stable, I'll add a config option

@djpugh djpugh mentioned this issue Feb 25, 2022
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 a pull request may close this issue.

2 participants