smallrye / smallrye-jwt

Apache License 2.0
73 stars 46 forks source link

Fix the docs - smallrye.jwt.resolve-remote-keys-at-startup and cache #818

Open zilinjak opened 3 weeks ago

zilinjak commented 3 weeks ago

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 the smallrye.jwt.resolve-remote-keys-at-startup will mean that the keys will be fetched at start and cache WON'T be used.

sberyozkin commented 3 weeks ago

@zilinjak Hi, it is not a doc bug then but the runtime bug, as in this this case the keys must be refreshable