logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
Users

Roles and permissions

Roles
Permissions
Application in UI
Role union

Development

Extend permission tabs

Department

Departments
Department roles

User data synchronization

Synchronization management

Data source

HTTP API

Development

Extending synchronized data sources
Extending sync target resources
Next PageUsers

#Synchronize User Data from WeChat Work

#Introduction

The WeChat Work plugin supports synchronizing user and department data from WeChat Work.

#Create and configure a custom WeChat Work application.

First, you need to create a custom application in the WeChat Work admin console and obtain the Corp ID, AgentId, and Secret.

Refer to User Authentication - WeChat Work.

#Add a synchronization data source in NocoBase

Go to Users & Permissions - Sync - Add, and fill in the obtained information.

#Configure Contacts Sync

Go to the WeChat Work admin console - Security and Management - Management Tools, and click on Contacts Sync.

Configure as shown in the figure, and set the trusted IP of the enterprise.

Now you can proceed with user data synchronization.

#Set up the event receiving server

If you want changes to user and department data on the WeChat Work side to be synchronized to the NocoBase application in a timely manner, you can proceed with further settings.

After filling in the previous configuration information, you can copy the contacts callback notification URL.

Fill it into the WeChat Work settings, obtain the Token and EncodingAESKey, and complete the NocoBase user synchronization data source configuration.