I have configured my Vaadin23 application with stateless authentication model and Keycloak SSO. I use JWT token with Cookie in order to restore the user session on application redeploy. At first glance everything is working fine. But, from time to time, users claim that they are moving to the home page after some time of using the website when they click something on the page. There are no issues at the log. I suspect that this issue maybe related to JWT token or HTTP session expiration. By default, my JWT token lives 1800 secs (30 mins). Also, I have the following properties for my Spring Boot application:
server.servlet.session.timeout=1d
spring.session.timeout=1d
server.servlet.session.tracking-modes = cookie
server.servlet.session.cookie.http-only=true
server.servlet.session.cookie.secure=true
vaadin.heartbeatInterval=300
vaadin.pushLongPollingSuspendTimeout=60000
vaadin.maxMessageSuspendTimeout=7000
vaadin.websocket.idle.timeout=45000
vaadin.compatibilityMode = false
Right now, I have no idea where to dig in order to catch and fix this issue. So, I'll appreciate any help in order to solve this. Please advise, where I should dig in order to shed light on this issue.