Validating JWT with JWKS: Can we store JWKS file instead of downloading every time?

Please do cache the result of the .well-known file. It will change, though extremely rarely.
Your code must handle when the key used to sign the token does not appear in your cache, then you will have to re-download the file.

John

1 Like