Description
Follow section Configure the Service Portal login page on below link to change system property: glide.entry.page.script
Then the Email Password Reset URL stops working.
The URL in the pwd resetting email is redirected to service portal page.
Steps to Reproduce
- Change system property: glide.entry.page.script to new SPEntryPage(). getLoginURL()
- Password Reset > Processes > Default Self Service > make sure Email Password Reset URL is ticked. Click on the Public URL, and reset password for a demo user.
- Open sysevent table > open latest record that has name password.reset.url, copy the URL in Parm 2, then open the URL in a different browser.
The page is redirected to below page
https://xxxxx.service-now.com/sp/?id=landing
Workaround
In the Script Include: SPEntryPage, immediately after this line:
var sPage = session.getProperty("starting_page");
add this:
if (nt && nt.startsWith("$pwd_new.do"))
return;
Related Problem: PRB1246476