<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I use the <i class="">/auth/realms/{realm}/protocol/openid-connect/token</i> endpoint to create a User Session. The Session is shown inside keycloak and i get the access_token, refresh_token and id_token.</div><div class="">When I now call the <i class="">/auth/realms/{realm}/protocol/openid-connect/token/introspect </i>I get a valid response containing <i class="">“active”:”true” </i>amongst others. I call it using POST method and providing <i class="">cient_id</i>, <i class="">client_secret</i> and <i class="">token</i> parameter as data. The <i class="">token</i> parameter contains the <i class="">access_token</i> value. </div><div class=""><br class=""></div><div class="">I now log in to keycloak administrator and logout the User. Now I again call the introspection endpoint but still get a response containing <i class="">"active":”true”</i>. It seems that keycloak is caching the User Session and after some time I get <i class="">“active”:”false”. </i>May I be able to disable caching and to immediately get a introspection response that indicates that the User Session does not longer exist?</div><div class=""><br class=""></div><div class="">Btw.: The same happens when I call the <i class="">/auth/realms/{realm}/protocol/openid-connect/logout?redirect_uri= </i>endpoint. I provided the <i class="">access_token</i> in the header. POST parameters are <i class="">client_id</i>, <i class="">client_secret</i> and <i class="">refresh_token</i> is this case.</div><div class=""><br class=""></div><div class="">I use the introspection endpoint in the different RPs I use to validate whether the access_token is revoked in order to introduce single logout. Hence it would be nice to disable the caching to have less inconsistence. </div><div class=""><br class=""></div><div class="">Bests</div><div class="">Jannik</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>