跳到主内容

阿里云 Captcha

阿里云 Captcha 是由 阿里云 提供的验证码服务。 它提供两种验证方式:"滑动验证" 和 "智能验证"。 您可以从此 链接 中查询更多详细信息。

Add Captcha Configuration in Alibaba Cloud

To add the Captcha configuration, log in to the Alibaba Cloud management console, search for and go to the Captcha Service. Then, click on Confirm Open to enable the Captcha Service.

Alibaba Cloud Captcha console open

Once you have entered the Captcha management console, click on Add configuration.

Alibaba Cloud Captcha console open

Fill in all the required information and submit the form.

Alibaba Cloud Captcha console open

Now, you can view the Scene and App key in your console.

Alibaba Cloud Captcha console open

Also, the Access key and Secret access key can be found in your profile.

在 Casdoor 配置

在 Casdoor 中创建一个新的提供商。

Select the category as Captcha, and the type as hCaptcha. Then, choose the sub-type: "Sliding Validation" or "Intelligent Validation". Make sure to fill in the Access key, Secret access key, Scene, and App key that you created in the previous step.

Alibaba Cloud Captcha provider

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

The following image shows the preview of "Sliding Validation":

Alibaba Cloud Captcha preview

And this image shows the preview of "Intelligent Validation":

Alibaba Cloud Captcha preview

Application Integration

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

Alibaba Cloud Captcha provider app