Session expiration
Once a session has expired, it can’t be reactivated or extended. The user must re-authenticate to create a new session. Thesession_duration_minutes parameter sets the lifetime of a session from the time it is created:
- Minimum: 5 minutes
- Maximum: 527,040 minutes (366 days)
- Default (if blank):
- When there is no existing session: 60 minutes
- When extending an existing session: No change to session expiry
Extend a session
By default, the frontend SDK keeps thesession_jwt updated, but it does not automatically extend the lifetime of the underlying session.
For example, if session_duration_minutes is set to 60 minutes, the session will expire 60 minutes after it was created regardless of user activity.
1
Examples
Techniques could be to set an interval to extend the session’s lifetime periodically so the session is automatically extended as long as the user keeps the application open, or setting the expiration based on last user activity.