One of the key features in WSO2 Identity Server is SAML2 based single sign on (SSO) feature. The default time period for a SSO session is 10 hours in the Identity Server versions so far and this default SSO Session Expire time value can not be changed according to the user needs. But from WSO2 IS 4.5.0 onwards the SSO session timeout can be configured at the server start time.
This configuration lies on <IS_HOME>/repository/conf/identity.xml file under the SSOService element. Add the following entry under that in order to explicitly add the SSO timeout.
<SSOService>
<SessionTimeout>120</SessionTimeout> // Add the expecting timeout value in seconds here.
</SSOService>
Save the configuration and restart the server. Now the SSO session will be timed out as the newly configured value and a user may need to re-authenticate once he logs back after this timeout. It is not a must to have this entry in 'identity.xml' and if a timeout is not configured, the SSO session will use the '10 hours (36000s)' default time out value.
After configuring the SSO Session Expire time you can use this article in order to setup Single Sign On with WSO2 Identity Server.
This configuration lies on <IS_HOME>/repository/conf/identity.xml file under the SSOService element. Add the following entry under that in order to explicitly add the SSO timeout.
<SSOService>
<SessionTimeout>120</SessionTimeout> // Add the expecting timeout value in seconds here.
</SSOService>
Save the configuration and restart the server. Now the SSO session will be timed out as the newly configured value and a user may need to re-authenticate once he logs back after this timeout. It is not a must to have this entry in 'identity.xml' and if a timeout is not configured, the SSO session will use the '10 hours (36000s)' default time out value.
After configuring the SSO Session Expire time you can use this article in order to setup Single Sign On with WSO2 Identity Server.