Web UI session never times out while a browser tab is open (SAML / 2026x Refresh1)

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=300

We 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 reopenSession 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 hourSession 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_webApplicationPlatform cookie is rotated periodically, so the refresh token lifetime keeps being extended
  • The WebSocket /webapp/api/core/websocket reconnects about every 60 seconds (the STOMP heart-beat is negotiated as 0,0, so the ALB idle timeout closes the idle connection)
  • /webapp/api/core/heartbeat/beat is 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 in Tomcat's conf/web.xml, but it had no effect.

Questions

  1. Is there a setting to enforce an absolute session lifetime (forcing re-login after a fixed time since login), regardless of refresh token rotation?
  2. 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?
  3. 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.

 

 

 

Answers 0