Enforcing a maximum login duration
You can enforce a maximum login duration to require users to re-authenticate after a specific period, regardless of the user activity. This setting is useful for organizations whose security policies prohibit persistent login sessions.
Before you begin
About this task
- A black banner appears when the session time remaining reaches 30 minutes.
- The message changes to red when the time remaining drops below 5 minutes.
Procedure
- In the Web UI, navigate to settings.
-
In the Maximum Login time (hours) field, specify the
number of hours users may remain logged in.
Note:If the value is set to 0 or a negative number, the maximum login time enforcement is disabled.
- Save the settings.
-
Log out and log back into the Web UI.
Note:Changes to this setting only apply to new sessions. Existing active sessions remain unchanged until the user logs out and back in.
Results
- The server terminates the session immediately.
- The client triggers the logout endpoint and refreshes to the login screen.
- OIDC and single sign-on (SSO) sessions are redirected for full de-authentication.