clerk-rs icon indicating copy to clipboard operation
clerk-rs copied to clipboard

Cache JWKS

Open hazelmeow opened this issue 9 months ago • 0 comments

When authorizing requests, instead of getting the JWKS from Clerk on every request, there should be some mechanism to cache the JWKS. clerk-rs could provide some common options (cached in memory, refresh on unknown kid, refresh periodically) and reasonable defaults and a trait to allow custom implementations.

hazelmeow avatar May 17 '24 03:05 hazelmeow