AgileApps Support Wiki Pre Release

Google reCAPTCHA

From AgileApps Support Wiki

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.

To generate the CAPTCHA, you need private and public keys.

Generating Private and Public keys

  1. Go to Google reCAPTCHA page.
  2. Click the v3 Admin Console button at the top.
  3. Enter the desired label for easy identification of your site.
  4. Choose the desired reCAPTCHA type.
  5. In the Domains field, enter the desired domain and click + (Add domain) icon. For example, subdomain.domain.com
  6. If you wish to add more domains, add the respective domains in the next field.
  7. Ensure that you read the terms and check the respective checkbox.
  8. Click the Submit button.
  9. The site key and secret key appears now. The site key is the public key and secret key is the private key.
  10. Copy both the keys. These keys have to be configured in the LongJump.

Configuring the public and private keys in LongJump

  1. Login to your LongJump account.
  2. Click the Configure Service Settings.
  3. Click the Edit button at the top.
  4. Under Basic Service Configuration, you can find the Recaptcha Private Key and Recaptcha Public Key fields.
  5. Paste the site key copied from the Google reCAPTCHA in the Recaptcha Public Key field.
  6. Paste the secret key copied from the Google reCAPTCHA in the Recaptcha Private Key field.
  7. Click the Save button.
  8. Under Security Headers Configuration, you can find that the CSP Whitelisted Domains and CORS Whitelisted Domains are populated automatically.

Enabling Captcha in Web Forms

  1. Navigate to Objects > Cases > Web Forms.
  2. Create a new web form or update the existing web form.
  3. Check the Show Captcha checkbox.
  4. Populate the required fields.
  5. Click Save.
  6. The web forms will be available with the captcha.

Notepad.png

Note: When a user has already enabled the captcha in the web form and the keys are removed, the user must update it again manually to enable the captcha visibility in web form.