Skip to main content

reCAPTCHA

Casdoor uses reCAPTCHA v2 Checkbox from Google. See reCAPTCHA docs and verify API.

Create an API key pair

  1. Register a reCAPTCHA key pair for your site (site key + secret key).
  2. Choose the reCAPTCHA type and add authorized domains or package names.
  3. Accept the terms and click Register to get the site key and secret key.

reCAPTCHA create apiKey reCAPTCHA apiKey

Configure in Casdoor

Create a Captcha provider, set Type to reCAPTCHA, and enter the site key and secret key. Use Preview to check the captcha.

reCAPTCHA provider reCAPTCHA preview

Use in an application

Edit the application, add the reCAPTCHA provider, and save.

reCAPTCHA provider app