OTP Validation
Validates a one-time password.
Use this valve to validate a generated one-time password . If the OTP is validated successfully an item property user_authenticated is created and set to String "true". (If the valve fails the property is set to String "false").
Configuration
Name
Description
Default value
Mandatory
Expanded
username_parameter
Parameter containing the username.
N/A
otp_parameter
Parameter containing the entered OTP.
N/A
src_parameter
Parameter containing the previously generated OTP.
"{{{session.generated_otp}}}"
otp_retries
Number of retries
0
{
"name": "ValidateOtp",
"enabled": true,
"config": {
"username_parameter": "${request.User-Name}",
"otp_parameter": "${request.User-Password}",
"src_parameter": "${session.generated_otp}"
}
}