Overview
This article addresses an error encountered when modifying the Maximum Session Lifetime value for the tenant. Saving the new configuration fails and displays the following error:
Error! Something happened while trying to save your settings: API Error. Please contact support if the problem persists
Applies To
- Auth0 Sessions
- Sessions Lifetime
Cause
The Idle Session Lifetime is set to a value greater than the Maximum Session Lifetime.
Solution
The Idle Session Lifetime must be less than or equal to the Maximum Session Lifetime because any period of user inactivity must occur within the total duration allowed for the entire session. A session cannot be inactive for longer than it is permitted to exist overall.
To clarify these concepts:
- Maximum Session Lifetime: Defines the absolute total time a user’s session can exist, active or inactive. Re-authentication is required once this limit is reached.
- Idle Session Lifetime: Defines the maximum duration a user can be inactive within their session before being automatically logged out. Activity typically resets this timer.