OTPBySMSValve
Valve for delivering one-time passwords by SMS, using PhenixID Message Gateway .
Properties
Example Configuration
{
"name": "OTPBySMSValve",
"config": {
"recipient_param_name":"{{request.mobile}}",
"userid_param_name":"{{request.username}}",
"generated_otp_name" : "generated_otp",
"wash_recipient_number" : "true",
"use_flash" : "false",
"recipient_prefix" : "+46",
"force_prefix" : "true",
"message_gateway_settings" : "ce4d2wer-css0-42ec-9800-129a6212",
"message" : "Your OTP is: $$OTP"
}
}
In the example above the value for attribute mobile 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.
Requirements
Item set must have at least one entry.