Skip to main content

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:

TermDingTalk Name
Client IDAppKey
Client secretAppSecret

In DingTalk, you can find the Appkey and AppSecret in the App Info.

DingTalk

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

DingTalk

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/me API endpoint

DingTalk

caution

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:

DingTalk