Lark syncer
The Lark syncer imports users from your Lark (飞书) organization into Casdoor. It authenticates as an app, walks the department tree recursively, and pulls each member's profile.
Prerequisites
Create a Lark app at the Lark Open Platform. The app needs the following permissions:
contact:user.base:readonly— Read basic user infocontact:department.base:readonly— Read department structure
After publishing the app to your organization, copy the App ID and App Secret from the app's credentials page.
Configuration
Create a new syncer in Casdoor (Syncers → Add) and fill in:
| Field | Value |
|---|---|
| Organization | Target Casdoor organization |
| Name | A unique name for this syncer |
| Type | Lark |
| Client ID | Your Lark App ID |
| Client Secret | Your Lark App Secret |
The database-related fields (database type, port, table name, etc.) are not used for the Lark syncer and can be left empty.