SSO Login takes to logout page

mdash
Giga Guru

Hi,

In our IDP, when I put login URL as instance.service-now.com/navpage.do, after login it takes to Homepage with portal page in the content frame. 

We wanted to redirect SSO users to SP portal, so I changed the IDP login URL to instance.service-now.com/sp.
Now when the user logs in, it takes them to the SP portal logjn screen, not the SP portal Homepage. Even if I try to relogin from the portal, it loops back to the SP Portal Login page.

Strange this is, if I try Test Connection from the IDP, it lets user login and shows the SP portal homepage.

Has anyone faced this issue earlier?

Thanks

1 ACCEPTED SOLUTION

Miguel Donayre
ServiceNow Employee
ServiceNow Employee

Did you create new system properties that hold the urls?

If you did try commenting out the new code you entered in the script and enter this 

else if (this.redirectURL)

url = sppUrl;

Now that will always redirect to the portal.

 

View solution in original post

10 REPLIES 10

Miguel Donayre
ServiceNow Employee
ServiceNow Employee

It might ... the portion of the script that was modified only redirect after SN gets a return from the SSO. If the user is already authenticated that mod script won't work. I would review that script to see if there is a section where IF they are authenticated and where it sends them. I am pretty sure there is ... just don't have the script in front of me.

Also, turn on the script debug in the properties .... you can follow along in the logs what it's doing. That way you can pinpoint at what point it's getting redirected to the nav_to page after you authenticate.