
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 10:07 AM
After we upgraded to London our users started being redirected back to the Service Portal home page when logging in from Catalog items, or other pages within the portal.
This is less than ideal and many of our users are now complaining.
However, I have been through several articles, documentation and videos and made several attempts to correct this. I am finding nothing in our setup that would have broken this. It appears that it should work, but I am not having any luck.
- SPEntryPage appears good
- glide.entry.first.page.script is set to "new SPEntryPage().getFirstPageURL()"
Any assistance is much appreciated.
Version: London
Authentication: Central Authentication System (CAS) which uses SAML
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019 09:01 AM
Thank you for your reply. The answer was actually pretty simple.
Because everything was correct on the back end per several articles on this forum, and docs.servicenow.com I focused on the Login Button in the header.
This is JS I ended up with that provided the desired outcome (returning the user to the page where they logged in as opposed to the Service Portal homepage)
var c = this;
$scope.openLogin = function () {
if (!c.data.is_logged_in) {
c.server.get({
action: "set_sso_destination",
pageURI: $window.location.href
}).then(function() {
window.location = "/login_with_sso.do";
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2021 01:16 PM
Can you provide some more information? is that an OOB ui page you set the window.location to? How did you test this?