Skip to content

syncSsoGroups

syncSsoGroups(db, providers, input): Promise<void>

Defined in: packages/auth/src/groups.ts:216

Sync IdP groups into shelf state: site role (full reconcile) plus project memberships. No-op for providers without groups config. Creates the shelf row on first SSO login when the mirror hook has not run yet.

DatabaseAdapter

ShelfSSOProvider[]

SsoGroupSyncInput

Promise<void>