47 views

Description

Follow section Configure the Service Portal login page on below link to change system property: glide.entry.page.script
https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/build/service-portal/concept/c_SPSSOLoginAndRedirects.html
 
Then the Email Password Reset URL stops working.
The URL in the pwd resetting email is redirected to service portal page.

 

Steps to Reproduce

  1. Change system property: glide.entry.page.script to new SPEntryPage(). getLoginURL()
  2. 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.
  3. 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

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-07 03:46:32
Published:2018-01-09