Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

OTP not generating

Nithin_Janagama
Regular Contributor
Regular Contributor

Hey guys, So I am trying to setup OTP verification for changing password for self. I've configured a rest connector such that it sends OTP to the mobile number. I've also put this rest connection in the global configuration at otp provider name. My settings are as follows:
gc.png

This is my SendOtpJSON :
{
"call": [
{
"name": "call1",
"connection": "otp",
"url": "http://10.0.x.xx:8089/final_otp/otp/getotp ",
"httpMethod": "GET",
"httpContentType": "application/json",
"httpParams": {
"otp": "${otp}",
"number": "${phone}"
},
"httpHeaders": {
"Accept": "application/json",
"Authorization": "Basic xyzxyaxyz"
}
}
]
}

and still, when I am trying to get otp while changing password, this api isn't getting triggered. What may be the mistake ?

[This message has been edited by moderator to disable url hyperlink]

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak , here are the logs while trying to reset password using otp.
otp3.png

otp1 (1).pngotp2 (1).png

[This message has been edited by moderator to mask sensitive information]

OTP is getting generated but there are error in logs i can see please share logs in text file masking sensitive info.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak , here is the logs excel with masked details.

looks like code issue raise support ticket

2024-05-08T07:02:03.561+00:00,ecm,,null-nlsrm,," at com.saviynt.sms.InternalSMSProviderService.sendOtpRequest(InternalSMSProviderService.groovy:118)",,,,,,,,,,,,,


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.