User guide
Quick Start Guide
Dashboard
Overviews
Case detail (Caseoverview)
Case - event
Tasks
Case notes
Documents
User settings
Favorites
Table component
FAQ
Administrator Guide
Platform guide
Administration
Crons
Authentication and Synchronization
Mobile App Setup for Your Environment
Scheme
Dynamic tables
Archiving
Scripts
Service console
Scheduled Tasks
HR Agenda
Sequences
CSP Headers
Logs
Access Token Settings & Session Expiration
Template
Roles
Planning
Users
Organizational structure
Events
Translations
AXIOS API
Calculations & Functions
Integrations
TAS Forms
TAS Forms
Activating the module on the environment
TAS Forms - secret creation guide for Docker Swarm
Advanced Features & Tips
Partners
Product
Business Changelog
Technical Changelog
Version Upgrade Guide
Upgrading to 5.9
Upgrading to 5.3
Dynamic conditions migration
PDF printing adjustment
Editing Task Description vs Task Instructions
Transpiling forEach to a for loop
Rendering HTML on Caseoverview
Upgrading to 5.7
Lodash upgrade v4.17.x (>v5.5)
Main changes and deprecated features (v5.3 > v5.7)
Using validation functions
Differences between TAS4 and TAS5 - a complete overview
Best Practices for Upgrading from v4 to v5
Technical details
News / Important information
- All Categories /
- Administrator Guide
- Platform guide
- Administration /
- Access Token Settings & Session Expiration
Access Token Settings & Session Expiration
Token Expiration Settings
cache.accessTokenExpireDuration
This parameter defines the expiration time (in seconds) for the access token. After this duration, users must log in again. The default value is 28,800 seconds (8 hours).
- The session expiration warning (
notifyBeforeExpiration) and automatic refresh (refreshBeforeExpiration) depend on this setting.
cache.refreshTokenExpireDuration
This parameter is usually not relevant in practice, as a new refresh token is generated with each login. The default is 30 days, meaning users who log in at least once a month will not experience refresh token expiration.
Session Expiration Warnings & Auto-Renewal
tas.sessionExpiration.notifyBeforeExpiration
This setting controls how long before session expiration a warning message appears. The recommended value is 15 minutes (900 seconds).
- Users receive a notification 15 minutes before expiration.
- Clicking "Continue Working" extends the session by the value of
cache.accessTokenExpireDuration. - If the user does not respond in time, they will be logged out and must log in again.
tas.sessionExpiration.refreshBeforeExpiration
This setting defines when the access token is automatically refreshed if the user is active in TAS.
- The refresh happens when a user performs an action that interacts with the backend.
- The default value is
-1, meaning auto-refresh is disabled. - If enabled, active users never see session expiration warnings.
- If inactive (e.g., away for lunch), users will receive a warning or be logged out.
This setting helps balance security and usability. Organizations can adjust it to enforce stricter or more flexible session policies.
Safe Testing Durations
Updated
by Anna Gernát