Last updated

Assigning permissions and enabling session management

Assigning permissions

To allow certain users to manage user sessions, assign the Revoke User Sessions permission to the relevant roles.

  1. Open the Frontegg portal.
  2. Navigate to [ENVIRONMENT] ➜ Configurations ➜ Entitlements ➜ Permissions.

session-management-management-1

  1. Locate and click on the Revoke User Sessions permission.

session-management-management-3

  1. Switch to the Roles tab and assign all relevant roles to this permission. Once finished, click on Assign roles.

session-management-management-4

session-management-management-5

  1. Click Save and Publish to apply changes to the selected environment.

Once permissions are assigned, users with the specified roles will have the ability to:

  • Configure session management settings.
  • End other users' sessions.

Continue to the next section to enable session management features in the self-service portal.


Enabling session management in the self-service portal

Personal

Enable customer accounts to view and manage their own sessions.

  1. Open the Frontegg portal and navigate to Admin portal.
  2. Under the Personal section, toggle Privacy & Security to On.

session-management-management-6

Users will now see their active sessions listed in the self-service portal. They can log out of individual sessions or end all sessions simultaneously.

Workspace

Enable customer accounts to view and manage other users' sessions.

  1. In the Frontegg portal, navigate to Admin Portal.
  2. Under the Workspace section, toggle Users to On.

session-management-management-7

Users with the required permission will now see a list of users. From the list, admins can sign out users from all their sessions by clicking the action menu for a specific user.

To allow session configuration:

  1. In the Frontegg portal, navigate to Admin Portal.
  2. Under the Workspace section, toggle Security to On.

session-management-management-8

Users with the required permission will now see configuration options for session management.


Configure session management

Frontegg provides three key session management settings that can be configured to align with your application needs:

  • Idle Session Timeout
  • Force Re-login
  • Maximum Concurrent Sessions

Default behaviors

If no settings are configured, the defaults are as follows:

  • Idle Session Timeout: Sessions remain active for 24 hours without activity.
  • Force Re-login: Users stay logged in indefinitely.
  • Maximum Concurrent Sessions: Users can open unlimited sessions.

Admins can adjust these settings in the Frontegg portal under Configurations ➜ Security ➜ Session management.

session-management-management-9


Configuring session management settings

Idle session timeout

Defines how long a session can remain open without user activity. Once this time is exceeded, the session ends automatically.
We recommend setting this to a value under 24 hours.

To configure Idle Session Timeout:

  1. Open the Frontegg portal.
  2. Navigate to [ENVIRONMENT] ➜ Configurations ➜ Security ➜ Session management.
  3. Toggle the Idle Session Timeout switch to enable the feature.
  4. Use the +/- buttons to set the duration in minutes, hours, or days.

session-management-management-10


Force re-login

Sets the maximum duration of a session, regardless of activity. Once the time limit is reached, users are logged out.
We recommend setting this to a value under 90 days.

To configure Force relogin:

  1. Open the Frontegg portal.
  2. Navigate to [ENVIRONMENT] ➜ Configurations ➜ Security ➜ Session management.
  3. Toggle the Force relogin switch to enable the feature.
  4. Use the +/- buttons to set the duration in days, hours, or minutes.

session-management-management-11


Maximum concurrent sessions

Limits the number of active sessions a user can have at the same time. If the limit is exceeded, the oldest session is terminated to allow a new one.
We recommend setting this to a value between 1 and 10.

To configure Maximum Concurrent Sessions:

  1. Open the Frontegg portal.
  2. Navigate to [ENVIRONMENT] ➜ Configurations ➜ Security ➜ Session management.
  3. Toggle the Maximum Concurrent Sessions switch to enable the feature.
  4. Use the +/- buttons to specify the maximum number of sessions allowed.

session-management-management-12