Skip to main content
Version: Deploy 23.1

Configure maximum concurrent sessions

You can configure the maximum number of concurrent, active sessions for a user using the deploy-server.yaml file.

To do this, configure the following parameters as required:

PropertyDescriptionValues
maximumSessionsThis property is used to set the maximum number of concurrent sessions for a user. By default, this is set to -1 and allows unlimited concurrent sessions. You can change this to any positive integer to limit the number of concurrent logins.Default: -1
Possible values: Any positive integer
exceptionIfMaximumExceededThis property determines the user experience after the maximum number of concurrent sessions is reached.
If set to true, when a user tries to sign into a new device, they will see an exception stating that they have exhausted the maximum number of concurrent sessions and will be asked to logout from one of the active sessions.
If set to false, when a user tries to sign into a new device, they will be automatically logged out from the oldest authenticated device and signed into the new device.
Default: false
Possible values: true or false