The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to make a ServicePortal Page auto redirecting to Single Sign On page instead of default login page?

sshah10
Kilo Contributor

Hello,

 

I have recently successfully implemented a SAML 2 based Azure Single Sign On (SSO), which now allows users to sign in using their microsoft account. After implementing the SSO, I had also configured the system property,  glide.authenticate.sso.redirect.idp, where I have saved the sys id for our identity provider, to ensure users are automatically redirected to the microsoft login page when they are accessing the instance as a non-logged in user, as suggested at: https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/single_sign_on/task/t_M....

 

There are a few issues I have observed and that users have reported based on this implementation, which I was hoping somebody here can help me resolve.

The first issue is, when a non-logged in user, navigates directly to a portal page within our instance, which requires a logged in user to access it, i.e. https://[instance_name].service-now.com/[portal_page_name], they are auto redirected to the default Service Portal login page, instead of being auto redirected to the Microsoft SingleSign On page. how can i configure the service portal to also auto redirect to the single sign on idp, I have looked online and have attempted some suggested solutions, but none of them seem to work.

 

Secondly, a few users complained about their page automatically being refreshed while they were working on Studio, by the SSO (as the url changes to microsoft login), causing them to lose any unsaved work. I believe the issue may be related to some kind of inactivity timers, but I am not entirely sure. What could be the cause for this issue and what can I do to resolve it. 

 

I would really appreciate any solution for the above issues I have mentioned in relation to SSO implementation

 

Thank you.

5 REPLIES 5

Hello,

Sorry it has been quite a while since I resolved this issue. As far as I can remember, after trying several online suggested solutions, If i remember correctly, the solution that worked to allow ServicePortal to auto redirect to my SSO login page, was by navigating to the sys_public table and changing the page $sp to false.

 

If that doesnt work, then I recommend you try the solutions suggested here: https://community.servicenow.com/community?id=community_blog&sys_id=606e6eaddbd0dbc01dcaf3231f96193a