Keycloak session token lost

Hello everyone,

I have an issue with Keycloak.
We have an application connected to Keycloak, Azure AD SSO with Keycloak, and then Keycloak with Application.

Everything works from a login perspective, but when the user stays idle for more than 30sec the application throws a CORS error.

Does anyone know what can be an issue?

SSO Session Idle: 30 mins
SSO Session Max: 1hour