Skip to main content


reCAPTCHA is provided by Google, and we use reCAPTCHA v2 Checkbox. You can find more details about it at this link.

Create an API key pair

To start using reCAPTCHA, you need to sign up for an API key pair for your site. The key pair consists of a site key and secret key. The site key is used to invoke the reCAPTCHA service on your site or mobile application. The secret key authorizes communication between your application backend and the reCAPTCHA server to verify the user's response.

First, choose the type of reCAPTCHA and then fill in the authorized domains or package names. After you have accepted the terms of service, click Register to obtain a new API key pair.

reCAPTCHA create apiKey

You will then receive a site key and a secret key.

reCAPTCHA apiKey

Configure in Casdoor

Create a new provider in Casdoor.

Select the category as Captcha and the type as reCAPTCHA. You need to provide the site key and secret key created in the previous step.

reCAPTCHA provider

You can click the Preview button to see the style of this captcha.

reCAPTCHA preview

Apply in the application

Edit the application you want to configure in Casdoor. Select the provider you just added and click the Save button.

reCAPTCHA provider app