Open navigation

How to Setup ReCAPTCHA

Summary

Google reCAPTCHA helps protect your site from spam and automated attacks by requiring users to complete a challenge before submitting forms. This guide will walk you through enabling and configuring reCAPTCHA in Moodle.

How To:

Step 1 - Generate Keys from Google

Before enabling reCAPTCHA in Moodle, you need to generate reCAPTCHA keys from Google using the following steps:

  1. Visit the Google reCAPTCHA site.
  2. Sign in with your Google account.
  3. Under Label, enter a name for your reCAPTCHA (e.g., "Moodle Site").
  4. Select reCAPTCHA v2 and choose "I'm not a robot" Checkbox.
  5. Enter your Moodle site's domain (e.g. explore.charitylearning.org).
  6. Accept the terms and click Submit.
  7. Copy the Site Key and Secret Key displayed on the next screen.

Step 2 - Navigate to reCAPTCHA Settings in Moodle

Whilst logged in as a Site Administrator, you'll need to go to:

Site administration > Plugins > Authentication > Manage authentication

Scroll down to the reCAPTCHA settings at the bottom of the page and enable reCAPTCHA for login, then enter the Site Key and Secret Key. 

Test pathway content page

Step 3 - Save

Once you've made the changes on your platform as highlighted above, scroll down to Save these changes. You can then test the reCAPTCHA functionality anywhere on the site which requires a form submission.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.