OTPByHTTPValve
Valve for delivering one-time passwords by HTTP and configured http method.
Supports GET/POST/PUT.
Supports multiple failover URLs.
Properties
Example Configuration
{
"name": "OTPByHTTPValve",
"config": {
"url_list":"https://www.messageservice.dd,https://www.messageservice.ff",
"userid_param_name":"username",
"recipient_param_name":"mobile",
"remove_leading_plus":"true",
"connection_timeout":"5000",
"http_method":"GET",
"success_string":"OK",
"parameters":{
"username":"troubleshooting",
"password":"{enc}FX2SBBwGjfPcUpqhhDQeua1Gj0DZ+1BTF5ev68QC8TM=",
"msisdn":"$$RECIPIENT",
"message":"Ditt+otp+är:+$$OTP",
"flash":"true",
"originator":"Clavister"
}
}
}
Requirements
Item set must have at least one entry.