-
Notifications
You must be signed in to change notification settings - Fork 49
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
JWT key cache is not refreshed when smallrye.jwt.resolve-remote-keys-at-startup
is enabled
#818
Comments
@zilinjak Hi, it is not a doc bug then but the runtime bug, as in this this case the keys must be refreshable |
I've read the code and it seems that it is not a bug, as it sets to fetch only once by design, when we have |
@luneo7 Thanks, ideally though if the URL is HTTP(S) based, the resolvers would end up dealing with its HttpsJWKS representation (FYI, it is used even for HTTP-only content). It looks like the only way to fix it is, instead of trying to read the key content directly in |
@sberyozkin not related, but also found out that |
smallrye.jwt.resolve-remote-keys-at-startup
is enabled
smallrye.jwt.resolve-remote-keys-at-startup
is enabledsmallrye.jwt.resolve-remote-keys-at-startup
is enabled
smallrye.jwt.resolve-remote-keys-at-startup
is enabledsmallrye.jwt.resolve-remote-keys-at-startup
is enabled
Hey,
lately I have been using smallrye jwt a lot. I have found bug where the cache of JWKS wasn't being refreshed.
This ended up due to the implementation of
smallrye.jwt.resolve-remote-keys-at-startup
can you please fix the docs and add note that thesmallrye.jwt.resolve-remote-keys-at-startup
will mean that the keys will be fetched at start and cache WON'T be used.The text was updated successfully, but these errors were encountered: