OTPByHTTPGetValve
Valve for delivering one-time passwords by HTTP GET.
Supports fallback URL's.
Properties
Example Configuration
{ "name": "OTPByHTTPGetValve", "config": { "generated_otp_name" : "generated_otp", "recipient_param_name" : "{{item.othermobile
}}
", "userid_param_name" : "{{request.username}}",
"url_list" : "
https://www.messageservice.dd,https://www.messageservice.ff
",
"url_params":"mobile=$$RECIPIENT&otp=$$OTP",
"success_string":"message_ok", "wash_recipient_number" : "true", "recipient_prefix" : "+46" } }
In the example above the value for attribute othermobile has been picked up earlier in the flow.
The value for userid_param_name has been picked up from the request. Most common values are {{request.User-Name}} for RADIUS and {{request.username}} for HTTP.
Information about values for url_list, url_params and success_string should be retrieved from the supplier of the message service.
Requirements
Item set must have at least one entry.