External log out redirect to Azure login page

arshad199110
Tera Contributor

We have the Azure SSO setup in our instance. By default when the session times out, it re-directs to the ServiceNow log out page. Which is an expected behavior.

I would like the users to be redirected to Azure login page and stay until he click on login. I tried giving the instance portal URL in the external logout direct field of SSO, what happens here is like the user gets the login alert after timeout. When they click on login, the SSO works and directly login them into portal.

How to achieve in bringing them to Azure login page.

 

Note: Have already cleared the value in property "glide.authenticate.external.logout_redirect"

4 REPLIES 4

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @arshad199110 ,

 

I do not see any solution that allows you to redirect to the page were you left or to any dynamic url. Currently looks like the feature is not available. But its an interesting use case to see in the future. (or may be a custom solution can be build upon)

 

Meanwhile you can make use of OOTB extend session option which shows a popup on users screen when the users session is about to expire. This allows the user to extend his session time.

 

i hope this helps...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

arshad199110
Tera Contributor

@Sohail Khilji  Thanks for your reply. Extend session is already being setup. Just trying to figure out, if this is possible. External logout redirect is the place where we set the redirect url right? Is it something to do with azure configuration?

Not at all, this will be in scope of servicenow application, currently it's unable OOTB. 

 

May be a customization on this will be a great addon


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Sai Kumar P
Tera Guru

Hi @arshad199110 ,

Have you tried giving Azure login page Url  in External logout redirect  ?  

Incase its not working , try returning Azure login page Url via Logout script (this is a custom solution).

-----------------------------------------------------------------------------------------------------------------------------------
Regards
Sai Kumar P
                               If this is working for you, Accept the solution and mark it as helpful