Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SSO Session Expire Error

println-titan
New Contributor III
New Contributor III

Hi all,

We have configured SAML SSO via Azure AD using the old SSO settings prior to 23.x.
SSO is working except for when the session expires / timeout. 

When the session expires, the user is redirected to the OOPS! page which states that Saviynt wasn't able to find a user with that username and password.

printlntitan_0-1698631999071.png

When we click on "Please click here" to logout and try again, we are redirected to Azure account selection page and when we select the account, we are redirected back to the same error page above. The only way to log in again is to "Sign Out" of the account on the Azure account selection page and login again.

We have tried the following:
- Configuring Saviynt Logout URL
- Configuring Logout URL on Azure
- Set same session timeout values on Saviynt(sp) and Azure (idp)
- Set higher session timeout value on Saviynt (sp)

Appreciate any inputs on this please, thank you!

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

can you share conifgurations


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sure @rushikeshvartak ,

Here are the logout related configurations in auth.groovy:

grails.plugin.springsecurity.saml.maxAuthenticationAge=1800
grails.plugin.springsecurity.saml.afterLogoutUrl = '/logout'
grails.plugin.springsecurity.saml.logouturl='https://<xxxxxx>.saviyntcloud.com/logout'

Here are the configurations on Azure idp:

Entity ID: SaviyntSSO
Sign On URL: https://<xxxxxx>.saviyntcloud.com
Logout URL (Optional): https://<xxxxxx>.saviyntcloud.com/ECM/saml/SingleLogout/alias/SaviyntSSOprintlntitan_0-1698636666461.png

mohitarora1
Regular Contributor
Regular Contributor

keep the maxAuthenticationAge value more than the session timeout value in IDP. Please note this value is in seconds in Saviynt. Recycle the services once the change is made.

Thanks,

Mohit Arora