Search Results :

×

How to Configure SSO Session Management with SAML/OAuth in WordPress?

The miniOrange SSO Session Management addon helps you control how user login sessions work on your WordPress site when using SAML Single Sign-On. It allows you to define session duration, manage inactive users, and apply role-based rules based on your access needs. In this guide, we will walk through the steps to configure session behavior for different use cases.

Follow the step by step guide to configure SSO Session Management Add-on with SAML Single Sign On (SSO) Plugin

miniOrange SSO Session Management add-on lets you control and customize the login session duration for users.

  • Once the add-on is activated, it will appear as a submenu under your miniOrange SSO Plugin.
  • Go to miniOrange >> SSO Session Management.
  • SSO Session Management Integration - go to the addon
  • Here you can configure the user’s session management settings, and inactive session management.
  • SSO Session Management Integration - configure settings
    Note and Contact Us - SSO Session Management Integration

    Note: Before configuring the plugin, the default user session time will be 2 days.


  • Enable Remember Me option allows you to let users stay logged in without having to sign in repeatedly until their session expires. When enabled, the session persists even after the browser is closed—so when users reopen the browser and visit the site, they’re automatically logged in without re-entering credentials.
  • This feature can be applied to both SSO and non-SSO users. If enabled for SSO users, all SSO users will have the Remember Me option enabled, and the same applies to non-SSO users.
  • Note and Contact Us - SSO Session Management Integration

    Note: If you enable the remember me option, all users will have a session time of 14 days, regardless of the role or default time set in below settings. If it is disabled then the time specified in the Default Time or Role Specific Time will be considered.


  • In case you want to provide the remember me option only to a specific group of people, you can mention their role in Enable Remember Me for specific roles.
    For e.g. If you want to enable the remember me option only to editors and authors, enter these role names in the Enable Remember Me for specific roles field. The remember me option will be applied only to users with editor and author roles.
  • The Default Time and Time Format settings allow you to define the active session duration in seconds, minutes, hours, or days, based on your preference. Once the Default Time is set, it applies to all users. However, if you’ve configured a role-specific session time, users assigned to that role will follow the role-specific duration instead.
    For e.g. If you’ve set 5 minutes as Default Time, then all users will have 5 minutes as session time. (The users whose role specific timeout is set, they will have role-specific session time as their session time.)
  • Session Based On - This section will allow you to set session time to users with specific roles. For e.g. If you mention the session time for Editor role as 8 days then all the users with Editor role will have active session time as 8 days and remaining roles will follow the default time specified.
  • Support for multiple roles of a User - If a user has multiple roles, and you have specified role specific session time then you can use either Role Priority or Highest Session Time option to choose the session time.
    • Role Priority - If you select this option, the session time of the role with maximum capabilities will be considered. So if a user has roles Editor and Administrator then the session time of Administrator role will be assigned to the user.
    • Highest Session Time - When enabled, the user will be assigned the longest session time among all their assigned roles. For example, if a user has Role Administrator with a 5-minute session time and Role Editor with a 20-minute session time, the user will get a 20-minute session.
    Note and Contact Us - SSO Session Management Integration

    Note: If no role-specific session time is set, the Default Time will be used for the session duration.


    Inactive Session Management:

    miniOrange SSO Session Management add-on provides the utility to monitor and warn users if the user is inactive for a certain period of time. The allowed inactive time can be set in the Inactive Session Management tab. To configure monitoring inactive users you can use below settings:


    SSO Session Management Integration - inactive session management
    • Enable Session Inactivity Management - Enabling this option will start inactivity management. So whenever users are inactive for a specified period of time, they will see a warning notification as their session is about to end.
    • Idle Timeout - This setting specifies the allowed time the user can be idle before the session is terminated. Set the Idle Timeout in seconds to terminate the session if the user is inactive. For e.g. If the Idle Timeout is 1800 seconds, users that are inactive for 30 minutes will be logged out.
    • Warning Time - Warning Time defines how much earlier the system will alert the user before their session ends due to inactivity. The inactivity warning will be displayed before the session ends. For e.g. If the Warning Time is set to 5 minutes then the user will receive a warning 5 minutes before the session ends.
    • Session Timeout Message - This message will be shown to the user when they remain inactive for the duration specified in the Idle Timeout setting. You can set this message however you like to notify the user that their session will be terminated due to inactivity.
    • SSO Session Management Integration - inactivity warning
    • Extend Button - The inactivity warning will have an extend button which extends the user’s available session time when clicked. The extended time can be set using the Extend Time option. Additionally, you can change the text of the extend button.
    • Note and Contact Us - SSO Session Management Integration - extend button

      Note: If the user extends the session time after inactivity, the user will be logged out after time mentioned in the Extend Time even if the user is active.


    • After the Idle Timeout is reached the user will be logged out and shown a Session Expired Message which can be configured along with the Login button text.
    • SSO Session Management Integration - session expired notification

Follow the step by step guide to configure SSO Session Management Add-on with OAuth Client Single Sign-On (SSO) Plugin

miniOrange SSO Session Management add-on can be used to modify the login session time of your users when they perform SSO into your site.

  • Go to the miniOrange SSO Session Management and Enable the Remember Me checkbox if you want to manage your user session time. Now you can configure user session time as per your need.
  • SSO Session Management Integration - enable remember me
  • If you want all your users to have the same session time regardless of their roles, you can enter the default time for your users in the input field of Enter Default Time and choose the interval from the Choose interval dropdown and click on the Save button.
  • SSO Session Management Integration - choose interval
  • After you perform sso on your site and visit it again, it keeps you logged in until the time you set ends.
  • If you want to create session times based on role, but a user has more than one role. Based on the following 2 options, you can set the session time.
    • Role Priority - If you select this option, the session time for the users having multiple roles will be created based on Role Priority. You can add the time according to the user's role.
      E.g. If the SSO user has multiple roles such as Contributor and Subscriber. The session time is determined by the highest priority role. (in this case, contributor)
    • SSO Session Management Integration - role priority
    • Highest Session Time - By selecting this option, you will take session time for the role that has the highest session time.
      E.g. Consider the Contributor and Subscriber roles. If a subscriber has the highest session time compared to a contributor, then the subscriber's session time will be assigned to the sso users.
    • SSO Session Management Integration - highest session time

Once configured, the session management settings will apply consistently, ensuring secure and reliable user access across the site. This results in a successful and smooth login experience for all users. If you have questions or need assistance with a specific use case, please contact us at wordpressteam@xecurify.com.




 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!


ADFS_sso ×
Hello there!

Need Help? We are right here!

support