OTPValidationValve

Valve for validating the one-time password.

Properties

Name Description Default value Mandatory Supports property expansion
generated_otp_name Item property containing the generated otp. generated_otp No No
userid_param_name Property containing the username. User-Name No Yes
provided_otp_param_name Property containing the provided otp value. Yes Yes
otp_retries The number of retries the user gets for the otp. 0 No No

Example Configuration

{
        "name": "OTPValidationValve",
        "config": { 
              "generated_otp_param_name":"generated_otp", 
              "provided_otp_param_name":"{{request.provided_otp}}"
        }
}

Requirements

Item set must have at least one entry.