Prerequisites
Understanding Directory Sync
Directory Sync automatically provisions users and groups from your customers’ identity providers into your application. When users are added, updated, or removed in the IdP, those changes are reflected in WorkOS.Working with Directories
Working with Directory Users
Working with Directory Groups
User Groups and Membership
Access group information for users:User Roles
Some directories include role information:Handling Directory Events with Webhooks
Directory Sync sends webhooks for user and group changes. See the Handling Webhooks guide for details on webhook verification. Common directory sync events:dsync.user.created- New user addeddsync.user.updated- User details changeddsync.user.deleted- User removeddsync.group.created- New group addeddsync.group.updated- Group details changeddsync.group.deleted- Group removeddsync.group.user_added- User added to groupdsync.group.user_removed- User removed from group