Non-role users cannot switch to platform UI after being redirected to service portal after logging inDescriptionThe 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/csh?topicname=c_SPSSOLoginAndRedirects.html&version=latest)2) Impersonate a non-role user (eg. Abel Tuter)3) You should be redirected to /sp4) Remove the /sp from the URL, notice how you are sent back to /spExpected 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.WorkaroundOption 1) In script include - SPEntryPage, in the getFirstPageURL methodChangeif (user.hasRoles() && !redirectURL && !isServicePortalURL)toif (!redirectURL && !isServicePortalURL) Option 2) Users can append /?.do in the URL (i.e. instancename.service-now.com/?.do)Related Problem: PRB1319325