Hello everyone,
We are evaluating session timeout behavior of the Web Application Platform (Web UI) and would like to ask whether there is a way to force a session timeout even while the browser tab stays open.
Environment
- Magic Collaboration Studio / Teamwork Cloud 2026x Refresh1
- TWC, WAP and the Authentication Server installed on a single AWS EC2 instance (RHEL)
- Accessed through an AWS Application Load Balancer (HTTPS terminated at the ALB)
- SAML authentication with Okta as the Identity Provider
What we tested
For testing, we set the following in WebAppPlatform/shared/conf/authserver.properties and restarted the services:
authentication.token.ttl=180
authentication.refresh.token.ttl=300We confirmed that the setting takes effect: the decoded ID token shows exp - iat = 180.
Results
| Scenario | Result |
| Log in, sign out of Okta, close all Web UI tabs, wait longer than refresh.token.ttl, then reopen | Session expires and the user is asked to log in again (as expected) |
| Log in, sign out of Okta, keep one Web UI tab open (home screen, no user interaction) for more than 1 hour | Session never expires; reloading the page still shows the user as logged in |
While the tab is open, we observed the following in the browser developer tools:
refresh_token_webApplicationPlatformcookie is rotated periodically, so the refresh token lifetime keeps being extended- The WebSocket
/webapp/api/core/websocketreconnects about every 60 seconds (the STOMP heart-beat is negotiated as0,0, so the ALB idle timeout closes the idle connection) /webapp/api/core/heartbeat/beatis called every 5 minutes
Because of these background requests, the tokens seem to be refreshed continuously without any user activity, so neither authentication.token.ttl nor authentication.refresh.token.ttl works as a session timeout while a tab is open.
We also tried changing
Questions
- Is there a setting to enforce an absolute session lifetime (forcing re-login after a fixed time since login), regardless of refresh token rotation?
- Is there a setting for an idle (inactivity) timeout in the Web UI, so that background requests such as WebSocket or heartbeat are not counted as user activity?
- If neither is available, is there a recommended approach, for example at the reverse proxy / load balancer level or on the SAML IdP side, that other users have used successfully?
Any information or experience would be greatly appreciated.
Thank you.
