DingTalk
DingTalk ✔️
Configuring DingTalk
To configure DingTalk, visit the DingTalk developer platform and log in using your DingTalk account. Once you're on the platform, follow the instructions provided to obtain your Client Id and Client Secret. The corresponding terms in DingTalk are as follows:
| Term | DingTalk Name |
|---|---|
| Client ID | AppKey |
| Client secret | AppSecret |
In DingTalk, you can find the Appkey and AppSecret in the App Info.

Make sure to add the Redirect Domain, which should be your Casdoor domain.

For more detailed information, please refer to the DingTalk developer docs.
Required Permissions
You need to enable the following permissions in your DingTalk application:
- Contact.User.Read - Required for reading user contact information via the
/v1.0/contact/users/meAPI endpoint

Without the Contact.User.Read permission, authentication will fail when Casdoor tries to fetch user information. Make sure this permission is enabled in your DingTalk application settings under "Permissions Management".
Configuring Casdoor
Here's the final configuration for DingTalk:
