This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuring reCaptcha for Challenge Question-Based Password Recovery
This topic guides you through configuring reCaptcha for secret questions in the password recovery flow. By configuring reCaptcha, you can mitigate or block brute force attacks.
- For more information on setting up password recovery with secret questions, see Password Recovery.Â
- For more information on brute force attacks, see Mitigating Brute Force Attacks.Â
- Set up reCaptcha with the WSO2 Identity Server. For instructions on how to do this and more information about reCaptcha, see Setting Up ReCaptcha.Â
- Start the WSO2 IS Server and login to the management console.Â
- Click Resident under Identity Providers found in the Main tab.
- Expand the Account Management Policies tab and then expand the Account Recovery tab.Â
Select Enable reCaptcha for Security Question Based Password Recovery to enable reCaptcha for account recovery.Â
Configure the Max Failed Attempts for ReCaptcha.
Note: This value should be less than the number of failed attempts configured in the account locking connector.
- You have now successfully configured reCaptcha for the password recovery with secret questions flow. The reCaptcha will be prompted if the user reaches the limit of max failed attempts when providing an answer to a secret question. For instance, since the Max Failed Attempts for ReCaptcha was configured as 2 above, if the user answers a question incorrectly twice, the reCaptcha will be prompted as seen in the window below.Â