# Keycloak SSO Session Idle timeout does not trigger while user session is idle for that configured time

**URL:** <https://forum.keycloak.org/t/keycloak-sso-session-idle-timeout-does-not-trigger-while-user-session-is-idle-for-that-configured-time/20399>\
**Category:** Miscellanaeous\
**Created:** [February 21, 2023, 7:22am UTC](https://forum.keycloak.org/t/keycloak-sso-session-idle-timeout-does-not-trigger-while-user-session-is-idle-for-that-configured-time/20399 "2023-02-21T07:22:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajpaulmnc](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/rajpaulmnc/32/7304_2.png) [@rajpaulmnc](https://forum.keycloak.org/u/rajpaulmnc)\
**Post date:** [February 21, 2023, 7:22am UTC](https://forum.keycloak.org/t/keycloak-sso-session-idle-timeout-does-not-trigger-while-user-session-is-idle-for-that-configured-time/20399/1 "2023-02-21T07:22:27Z")

</div>

Our application is created by Jhipster which comprise with spring boot and keycloak and postgress db. I have set the “SSO Session Idle” time as 1 minute in the keycloak realm settings.

Expectation is keycloak should send logout event if the user is idle for 1 minute and more. But nothing is happening(even no log in keycloak) and the session is still alive. I am able to call other rest API without any issue.

While logging in through key cloak I am able to see following log in keycloak. Not sure whether this is creating problem.

```auto
03:57:20,717 WARN [org.keycloak.events] (default task-64) type=REFRESH_TOKEN_ERROR, realmId=google, clientId=youtube, userId=8299cea8-8ebf-45df-8685-b37445620255, ipAddress=10.198.140.148, error=invalid_token, grant_type=refresh_token, refresh_token_type=Offline, refresh_token_id=2b031b6d-5ff4-4967-a300-42b930dfc04b, client_auth_method=client-secret

```

Is there anything specific I have to configure in application.yaml or application\_prod.yaml for getting session expired event in spring boot Jhipster application ?

I am struck for many days. Any help would be much appreciated.

I am expecting while setting session idle time in keycloak, keycloak should send session time out or logout event. And Jhipster spring boot application should able to log out.
