Google reCAPTCHA
From AgileApps Support Wiki
Revision as of 05:12, 8 January 2024 by Wikidevuser (talk | contribs) (→Step 3: Enabling Captcha in Web Forms)
What is reCAPTCHA?
reCAPTCHA protects the webforms from fraud and abuse without creating friction. It uses an advanced risk analysis engine and adaptive challenges to keep malicious software from engaging in abusive activities on the webforms. For more information, view the Google reCAPTCHA article.
How to enable reCAPTCHA in webforms?
Note: The following workflow is applicable for OnPrem application.
Step 1: Generating Private and Public keys
- Go to Google reCAPTCHA page.
- Click the v3 Admin Console button at the top.
- Enter the desired label for easy identification of your site. For example, domain.com
- Choose the desired reCAPTCHA type.
- In the Domains field, enter the desired domain and click + (Add domain) icon. For example, subdomain.domain.com
- If you wish to add more domains, add the respective domains in the next field.
- Ensure that you read the terms and check the respective checkbox.
- Click the Submit button.
- The site key and secret key appears now. The site key is the public key and secret key is the private key.
- Copy both the keys. These keys have to be configured in the LongJump.
Step 2: Configuring the public and private keys in LongJump
- Login to your LongJump account.
- Click Settings > Service Provider Settings > Service Configuration.
- Click the Edit button at the top.
- Under Basic Service Configuration, you can find the Recaptcha Private Key and Recaptcha Public Key fields.
- Paste the site key copied from the Google reCAPTCHA in the Recaptcha Public Key field.
- Paste the secret key copied from the Google reCAPTCHA in the Recaptcha Private Key field.
- Click the Save button.
- Under Security Headers Configuration, you can find that the CSP Whitelisted Domains and CORS Whitelisted Domains are populated automatically.