跳到主内容

reCAPTCHA

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

创建一个 API 密钥对

  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 创建 apiKey reCAPTCHA apiKey

在 Casdoor 配置

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

reCAPTCHA 提供商 reCAPTCHA 预览

Use in an application

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

reCAPTCHA 提供商应用