Getting redirected to the SSO Login page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 08:17 AM
I have a strange issue where if I hit the base URL (https://<instance>.service-now.com/) after having navigated to the SSO Login URL, I keep getting redirected to the SSO Login page via the auth_redirect.do page. Without visiting the SSO Login URL, I am redirected to the Service Portal (/sp/) page. This is controlled by the SPEntryPage getLoginURL script include. I can confirm I don't have the glide.authenticate.sso.redirect.idp property set to auto-redirect to the SSO Login.
Does anyone know how do I avoid getting redirected to the SSO Login and ensure the URL gets redirected to the Service Portal instead? I suspect the issue might be related to the session cache that gets set once I navigate to a Login page.
Regards,
Ayman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2019 08:14 AM
Hello Ayman,
Did you ever figure this out? I've been trying to figure out the same, no luck yet.
Thanks in advance!
Scott

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2019 09:32 AM
Hey,
I ended up using a Global UI Script to redirect certain roles to the portal using the addLoadEvent. This will run everytime a user logs in.
Don't recommend it but it is a very good fallback. See below for example
https://community.servicenow.com/community?id=community_question&sys_id=4c8543eddbd8dbc01dcaf3231f9619d7
If you are implementing this, I highly recommend having the if loop with admin role that does nothing. If you comment it out and if there is something wrong with the script then you are locked out of your instance.
Thanks,
Ayman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2019 12:23 PM
Thank you for the reply..