Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Soprasteria
CH
Last activity: 5 Jan 2022 4:16 EST
Customization on forget password screen during the login screen
Hi All,
I have a requirement to customize the sending of OTP when i click on the "Forgot Password" in the login screen.
Pega OOTB uses the Email account configured in the Security policies rule and sends the otp to the operators email address.
My Requirement is to call the REST service(3rd party service) which will send an email.
Below are the solution which i tried.
1. pyForgotPassword - HTML stream rule responsible to send the OTP on click on submit.
2.pzValidateOperatorAndSendOTP - Activity configured on click on submit button, I tried to saveas the same rule and invoked the REST service call but it does not work.
Any help on this topic would be appreciated.
Thanks
Som