OTPByHTTPGetValve

Valve for delivering one-time passwords by HTTP GET.

Legacy valve, use OTPGetHTTPValve.

Properties

Name Description Default value Mandatory Supports property expansion
generated_otp_name Item property containing the generated otp. generated_otp No No
recipient_param_name Property containing the recipient mobile number. mobile No Yes
userid_param_name Property containing the username. User-Name No Yes
url_list Comma separated list of URLs to send to. Failover functionality. Yes No
url_params '&' separated list of parameters. Example: 'mobile=$$IDENTITY&otp=$$OTP' No No
success_string String to look for if the GET was successful. 'OK' No No
wash_recipient_number If the mobile number should be washed (i.e. removal of whitespaces, - and other non-number characters). true No No
remove_leading_plus If the leading + character should be removed from the mobile number. false No No
recipient_prefix If the mobile number should be prepended with a country prefix. (example: +46) No No

Example Configuration

{
        "name": "OTPByHTTPGetValve",
        "config": { 
              "url_list":"https://www.messageservice.dd,https://www.messageservice.ff",
              "url_params":"mobile=$$RECIPIENT&otp=$$OTP",
              "success_string":"message_ok"
        }
}

Requirements

Item set must have at least one entry.