cancel
Showing results for 
Search instead for 
Did you mean: 

Removing/Killing the password token from the URL in SAP CDC

komal_joshi
Explorer
0 Kudos

Hi Experts,

We have requirement when the user clicks on forgot password the flow is this:

  1. gigya-forgot-password-screen
  2. gigya-forgot-password-success-screen
  3. gigya-reset-password-screen
  4. gigya-reset-password-success-screen

after success page appears the user is redirected to login page and once again user clicks on forgot password expected flow should be gigya-forgot-password-screen should render but we are redirecting to gigya-reset-password-screen as the pwrt token is not getting killed in the URL

https://example.html?apiKey=ABC&pwrt=YYY.sc3

please let us know if there is any way to remove the pwrt token from URL

Thanks,

Komal

Accepted Solutions (0)

Answers (1)

Answers (1)

Hi Komal,

The best way to do this would be to update the url to remove those parameters when the password reset flow is completed successfully.

An easy way to do this would be using the onAfterSubmit event supported by the Screen-Sets.

Best regards,
Joshua

komal_joshi
Explorer
0 Kudos

Hi Joshua, Thanks for the information!

Best Regards,

Komal