In previous versions of WSO2 Identity Server, the default time period for a SSO session is 10 hours and this default SSO Session Expire time value cannot be changed according to the user's needs. However, from WSO2 IS 5.1.0 onwards, a global configuration is specified in the
identity.xml file (as explained below) and the SSO session timeout can be configured tenant wise using the management console.
The global configuration can be found in the
<IS_HOME>/repository/conf/identity/identity.xml file under the
These property values are in minutes.
The session timeout configured in the identity.xml file does not impact the existing tenants. It impacts only the tenants that are created after changing the configuration. If you want to change the session idle timeout for existing tenants, please configure it tenant wise as shown below.
To configure the Session Timeout and Remember Me period tenant wise, follow the steps below:
Start the IS server and login to the management console.
- Click Resident under Identity Providers on the Main tab.
- Fill in the fields as seen below to configure the session timeout and RememberMe period.
- Restart the server to save the changes
Now the SSO session is timed out according to the newly configured value and users need to be re-authenticated once the session times out. If a timeout is not configured, the SSO session simply uses the 15 minutes default time out value.