All Products
Search
Document Center

Secure Access Service Edge:Connect to DingTalk identity provider

Last Updated:Jul 17, 2026

SASE enforces security policies based on identity. If your enterprise already uses a DingTalk identity provider to manage its organizational structure, you can integrate it with SASE, which eliminates the need to create new identities for your employees. After the integration, employees can use their existing DingTalk accounts to log in to the SASE App for work.

Limitations

You can enable a maximum of five identity providers at the same time (only one custom identity provider can be enabled at a time). If you have already enabled the maximum number of identity providers, you must first disable an existing one before you can enable another one.

Configure and enable DingTalk identity provider

  1. Log on to the SASE console.

  2. In the left-side navigation pane, choose Identity Authentication > Identity Access.

  3. On the Identity synchronization tab, click Create IdP.

  4. In the Create IdP panel, select DingTalk, and then click Configure to complete the configuration in the wizard.

  5. In the Basic Configurations step, configure the following parameters.

    Parameter

    Description

    IdP Name

    Enter a name for the identity provider.

    The name must be 2 to 100 characters long and can contain Chinese characters, letters, digits, hyphens (-), and underscores (_).

    Description

    Enter a description for the configuration.

    This description appears as the login title in the SASE client, helping users identify the identity provider.

    IdP Status

    Configure the status for the identity source. The valid values are:

    • Enabled: The identity source is enabled after it is created.

    • Closed: The identity source is disabled after it is created.

      Important

      If you disable an identity source, end users cannot use the SASE app to access internal applications. Proceed with caution.

    CorpId

    The unique ID of your enterprise in DingTalk. Obtain this ID from the homepage of the DingTalk Open Platform.

    AppKey

    The AppKey for your application in the DingTalk Open Platform. Find the AppKey on the application's Credentials and Basic Information page on the DingTalk Open Platform.

    AppSecret

    The AppSecret for your application in the DingTalk Open Platform. Find the AppSecret on the application's Credentials and Basic Information page on the DingTalk Open Platform.

    Advanced Settings

    DingTalk Type: Select DingTalk Standard or Dedicated DingTalk.

    Event Subscription: After you configure event subscription, organizational structure changes in DingTalk are synchronized to SASE in real time, keeping SASE security policies effective when employee details change due to organizational adjustments or departures.

    • AES Encryption Key

      Obtain the AES encryption key from the Event Subscription page of your application on the DingTalk Open Platform.

    • Encryption token

      Obtain the encryption token from the Event Subscription page of your application on the DingTalk Open Platform.

    Automatic Synchronization

    After you enable the Automatic Synchronization switch, the system automatically synchronizes information from DingTalk based on the synchronization mode.

    If you do not enable Automatic Synchronization, you must manually synchronize the organizational structure. For more information, see View synchronization records.

    Synchronize User Information

    After you enable the Synchronize User Information switch, the system automatically synchronizes employee information from DingTalk based on the Automatic Synchronization Cycle.

    Note

    If the Automatic Synchronization feature is disabled, the Synchronize User Information function does not run.

    Automatic Synchronization Cycle

    Set the Automatic Synchronization Cycle. You can set an automatic synchronization to run every 1 to 24 hours.

    Logo

    Upload a custom logo.

    The following URLs are provided for configuration. Copy them from the panel.

  6. Click Connectivity Test. If the test is successful, click Next.

    Note

    If a Connection Failed message appears, verify that the server address and port are correct.

  7. In the Synchronization Settings step of the wizard, configure the synchronization scope for the organizational structure and the field mappings. Then, click Ok.

    Parameter

    Description

    Organizational Structure Synchronization

    The scope of organizational structure synchronization.

    • Synchronize All: Synchronizes the entire organizational structure from DingTalk to SASE.

    • Partially Synchronize: Allows you to select specific organizational units to synchronize.

    Field Synchronization Mapping

    Maps the fields of the DingTalk organizational structure to the corresponding fields in SASE.

    Note

    If the built-in fields under Local Field After Mapping in SASE do not meet your business needs, you can click View Extended Fields in the upper-right corner of the list. In the View Extended Fields panel, you can add, edit, or delete extended fields.

View synchronization records

  1. On the Identity synchronization tab, locate the identity provider and click Synchronize Records in the Actions column.

  2. On the Synchronize Records page, view the synchronization records for the identity provider.

  3. In the Synchronization Task area on the left, click a specific task to view its synchronization details in the list on the right.

    The synchronization task card on the left displays the Task ID, Synchronization Method (manual or automatic), Synchronization Status, Creation Time, End Time, Department Synchronization Count, and User Synchronization Count. The synchronization records table on the right includes columns for Synchronization Time, Action, Task Status, Type, Name, and Actions. You can filter records by type, action, and status, or search by name.

  4. Click Details in the Actions column for a specific record to view its field information from both the Third-party Data Source and the SASE Data Source.

Manual synchronization

If you did not enable Automatic Synchronization during configuration, or if your directory structure has changed, you need to synchronize the information manually. Click Create Synchronization Task and then click OK. After the task is complete, you can view the new synchronization records.

Note

After a successful synchronization, you can view the synchronized organizational structure and user information on the Identity Authentication > Identity Access > Employee Center tab. For more information, see Employee Center.

Disable automatic synchronization

  • On the Identity synchronization page, locate the identity provider and turn off the switch in the Automatic Synchronization column.

  • In the Edit IdP panel, turn off the automatic synchronization switch.

Edit DingTalk identity provider

On the Identity synchronization page, find the DingTalk identity provider and click Edit in the Actions column.

Disable DingTalk identity provider

On the Identity synchronization tab, find the DingTalk identity provider and turn off the switch in the IdP Status column.

Delete DingTalk identity provider

On the Identity synchronization page, find the DingTalk identity provider and click Delete in the Actions column.

Related topics

Configure a custom identity provider

If your organization does not use an external identity provider, you can build your organizational structure by using the custom identity provider in SASE. For more information, see Connect to a custom identity provider.

Connect to third-party identity providers

If your organization uses LDAP, DingTalk, WeCom, Lark, or IDaaS to manage its organizational structure, you can connect your identity provider to SASE to import identity information.

Configure user groups

If you need to create user groups outside your organizational structure, see User group management.