Had this error on Keycloak console,
09:49:35,417 WARN [org.keycloak.events] (default task-145) type=USER_INFO_REQUEST_ERROR, realmId=internal, clientId=my-client-id, userId=null, ipAddress=10.20.24.35, error=user_session_not_found, auth_method=validate_access_token
Basically it happens when a specific user hitting a UserInfo API request bringing their active JWT token. JWT token is generated after a user successfully login to Keycloak, either via Login page or Rest API, and to be used in their internal application.
Also the error seems happening, generated JWT token seems to be invalid after 30minutes despite we update access token lifespan into 1 hour.
Finally i realized that this error keeps happening because i was updating the wrong configuration. It is supposed to be the “SSO Session Idle” configuration, in the “Tokens” tab in “Realm Settings” that need to be updated.
After change it into 1 Hour, i can see that my JWT token is successfully validated using UserInfo API for at most 1 hour after being created.

