As I understood correctly, from few resources like RemoteJWT Cache TTL, Spring cached the JWK set in Resource Server for minimising the remote call to Authorisation Server for token verification to each API call. And Spring have default TTL for that is 5 mins, which we can increase as well.
However I've some queries on same:
- What happens if user successfully logged out from client application and hit the resource server API with same JWT token and from Resources Server end TTL doesn't expired yet. Does they still able to access API.
Please correct me if my understanding is wrong and also give your thought on same. And if good resource on that, please do share. Thanks!