The system property "glide.entry.first.page.script" can be setup to point to the SPEntryPage script include that would allow non-role users to be redirected to service portal after logging in.

However, after logging in they are not able to switch to platform UI (i.e. by removing /sp from the URL).

This is because the script include runs multiple times after the user logs in which results in the redirection back to the portal each time.

Steps to Reproduce

1) Follow documentation to setup Service portal redirection for non-roled users (https://docs.servicenow.com/bundle/london-servicenow-platform/page/build/service-portal/concept/c_SPSSOLoginAndRedirects.html)
2) Impersonate a non-role user (eg. Abel Tuter)
3) You should be redirected to /sp
4) Remove the /sp from the URL, notice how you are sent back to /sp

Expected behavior: On login non-role users will get sent to /sp. If desired the users can remove/change URL path to navigate to Platform UI.

Actual behavior: Users are forced to stay in /sp. Removing/Changing URL triggers SPEntryPage script and redirects back to SP.


Option 1)

In script include - SPEntryPage, in the getFirstPageURL method


if (user.hasRoles() && !redirectURL && !isServicePortalURL)


if (!redirectURL && !isServicePortalURL)


Option 2)

Users can append /?.do in the URL (i.e. instancename.service-now.com/?.do)

Related Problem: PRB1319325

Seen In

Madrid Patch 3
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - VR - Qualys - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-11-16 04:01:34