Directory Sync is only available on the Bijection Business and Enterprise
plans.
Directory Sync connects your identity provider’s user directory to your Bijection
team, so that your directory controls who belongs to the team and what team role
they have. Bijection uses WorkOS Directory Provisioning for this: WorkOS creates,
updates and removes the team’s directory members.Directory Sync is configured on the
Team Authentication page,
under Team Settings → Team Authentication.
Directory Sync and SSO are separate features, and
you can use either one without the other. Both use the Authentication
Domains section of the page.
Setting up Directory Sync
1. Verify a domain
The console offers to configure Directory Sync once your team has verified a
domain. See verifying a domain.
2. Connect your directory in the WorkOS Admin Portal
Select Configure in the Directory sync section.
The console describes what connecting a directory does, then opens the WorkOS
Admin Portal in a new tab. There you pick your identity provider, follow its
instructions to point the directory at Bijection, and choose the role each
directory group grants. Complete every step there before coming back to the
Bijection console, because the directory is not connected until they are all
done.
Back in the Bijection console, the dialog shows the connection’s progress while
you work through that page, and updates once the directory is linked. You can
close it and come back later without losing your progress.
3. Enable directory sync
Once the directory is linked, the Directory Sync section asks you to enable it.
Select Review to open the confirmation page.Check the acknowledgement and select Enable directory sync. The prompt to
review goes away. Bijection refuses to enable Directory Sync unless at least one
team admin holds a membership the directory does not manage, because the
directory could otherwise leave the team without an admin.
How members join
Directory Sync adds people to the team directly. There are no offers or
invitations to accept and no pending members: once your directory provisions a
user into a group that grants a role, WorkOS makes them a member of your team
with that role, and the team appears in their team switcher when they sign in
to Bijection as that user.
Keeping the team in sync
Once Directory Sync is enabled, changes in your identity provider are applied to
your Bijection team by WorkOS:
Adding a user to a group that grants a role adds them to the team with that
role.
Moving a user between groups, or changing the role a group grants in the
Admin Portal, changes their Bijection role.
Suspending a user in the directory, or removing them from it, removes them
from the Bijection team. See
Deprovisioning removes members for what
that means for them.
How quickly a change arrives depends on your identity provider and WorkOS.You cannot change the role of a member the directory manages, or remove them
from the team, from the Bijection console. Change their groups or their
membership in your identity provider, or the group roles in the WorkOS Admin
Portal, instead. Members the directory does not manage are unaffected.To manage the directory connection or view its current status, use the
⋮ → Manage button, which opens the WorkOS Admin Portal.
Disabling Directory Sync
Select ⋮ → Disable Directory Sync to disconnect the directory. Bijection
turns directory management off and deletes the directory. The memberships your
directory wrote are withdrawn with it: those members leave the team, the
credentials they hold for the team are revoked, and their project roles are
removed. Members the directory did not add keep their membership and role.
Things to know
Project roles are managed separately
Your directory sets a member’s team role.
An explicit project grant
is assigned from that project’s settings.
Deprovisioning removes members
Suspending a user in your directory, or removing them from it, removes them from
the Bijection team. In one step, the credentials issued to them for the team are
revoked and the organization role grants and project grants held through that
membership are removed. If your directory provisions them again, their project
roles have to be set up again.
Group roles live in the WorkOS Admin Portal
Bijection keeps no mapping of directory groups to roles: the role each group
grants is set in the WorkOS Admin Portal, which Open Admin Portal under
Directory group roles opens. Changing a group mapping from Bijection is
always refused.
Members are bound explicitly, never matched by email
Bijection never links a directory user to a Bijection account because their
emails match. A member is managed by your directory exactly when WorkOS reports
their team membership as directory-managed; every other member is managed from
the Bijection console.
Recovering from a lockout
If a team is left without any admin, Bijection support can restore access by
inviting one administrator. Write to
contact@bijection.com from an address of the team.
Who can configure Directory Sync
Reading directory status requires an Authority Read grant on the organization.
Changing the directory binding requires Authority Write. Configure group-to-role
mappings through the WorkOS Admin Portal.Enabling and disabling Directory Sync are recorded in the
team audit log.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bijection","description":"Bijection documentation: reactive backends with TypeScript functions, a transactional database, and connected systems.","colors":{"primary":"#000000","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/bijection-95ba84d3/gsJxdHnUQekCt9N_/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=gsJxdHnUQekCt9N_\u0026q=85\u0026s=35e0b89a63bb95ac348a34e44cc0f8e4","dark":"https://mintcdn.com/bijection-95ba84d3/gsJxdHnUQekCt9N_/brand/logo-dark.svg?fit=max\u0026auto=format\u0026n=gsJxdHnUQekCt9N_\u0026q=85\u0026s=364e400a182161935209ebe4d6abf449"},"favicon":{"light":"https://mintcdn.com/bijection-95ba84d3/LTIOaPXoVmLtMpbC/favicon-light.png?fit=max\u0026auto=format\u0026n=LTIOaPXoVmLtMpbC\u0026q=85\u0026s=64155b5676f1fc60418b12db27f69282","dark":"https://mintcdn.com/bijection-95ba84d3/LTIOaPXoVmLtMpbC/favicon-dark.png?fit=max\u0026auto=format\u0026n=LTIOaPXoVmLtMpbC\u0026q=85\u0026s=801b4ed0e72ab7dec8bfaca009bd69c2"},"appearance":{"default":"light"},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"https://bijection.com","label":"Website"},{"href":"mailto:contact@bijection.com","label":"Support"}],"primary":{"type":"button","label":"Book a demo","href":"https://bijection.com/demo"}},"footer":{"links":[{"header":"Bijection","items":[{"label":"Website","href":"https://bijection.com"},{"label":"Pricing","href":"https://bijection.com/pricing"},{"label":"Contact","href":"mailto:contact@bijection.com"}]}]},"fonts":{"family":"Geist"},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bijection-95ba84d3","hasAudioNarration":false,"actualSubdomain":"bijection-95ba84d3","customDomains":["docs.bijection.com"],"gitSource":{"type":"github","owner":"bijectionhq","repo":"bijection","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6b101d335fc932eb7b94a865","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"Platform","count":295},{"language":"default","tag":"Data","count":151},{"language":"default","tag":"Integrations","count":108},{"language":"default","tag":"Business model","count":48},{"language":"default","tag":"Applications and AI","count":46},{"language":"default","tag":"Operate","count":45},{"language":"default","tag":"Operate an installation","count":45},{"language":"default","tag":"Operations","count":45},{"language":"default","tag":"Start","count":35},{"language":"default","tag":"Development","count":27}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:1rem!important;width:auto!important}#page-title{font-weight:500;letter-spacing:-0.04em}#content h2,#content h3{font-weight:500;letter-spacing:-0.025em}#topbar-cta-button>a>span{background:#000000;border-radius:0.5rem}#topbar-cta-button>a :is(span,svg){color:#ffffff}#topbar-cta-button>a:hover>span{background:#333333}.dark #topbar-cta-button>a>span{background:#ffffff}.dark #topbar-cta-button>a :is(span,svg){color:#000000}.dark #topbar-cta-button>a:hover>span{background:#cccccc}::selection{background:#000000;color:#ffffff}.dark ::selection{background:#ffffff;color:#000000}"}]}
{"page":{"pagePath":"operate/administration/directory-sync","slug":"/operate/administration/directory-sync","pageMetadata":{"title":"Directory Sync (SCIM)","description":null,"href":"/operate/administration/directory-sync"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Info,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsx(_components.p,{children:`Directory Sync is only available on the Bijection Business and Enterprise\nplans.`})}),`\n`,_jsx(_components.p,{children:`Directory Sync connects your identity provider’s user directory to your Bijection\nteam, so that your directory controls who belongs to the team and what team role\nthey have. Bijection uses WorkOS Directory Provisioning for this: WorkOS creates,\nupdates and removes the team’s directory members.`}),`\n`,_jsxs(_components.p,{children:[`Directory Sync is configured on the\n`,_jsx(_components.a,{href:`https://console.bijection.com/team/settings/team-authentication`,children:`Team Authentication page`}),`,\nunder `,_jsx(_components.strong,{children:`Team Settings → Team Authentication`}),`.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Directory Sync and `,_jsx(_components.a,{href:`/operate/administration/sso`,children:`SSO`}),` are separate features, and\nyou can use either one without the other. Both use the `,_jsx(_components.strong,{children:`Authentication\nDomains`}),` section of the page.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-directory-sync`,children:`Setting up Directory Sync`}),`\n`,_jsx(Heading,{level:`3`,id:`1-verify-a-domain`,children:`1. Verify a domain`}),`\n`,_jsxs(_components.p,{children:[`The console offers to configure Directory Sync once your team has verified a\ndomain. See `,_jsx(_components.a,{href:`/operate/administration/sso#1-verify-a-domain`,children:`verifying a domain`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-connect-your-directory-in-the-workos-admin-portal`,children:`2. Connect your directory in the WorkOS Admin Portal`}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Configure`}),` in the `,_jsx(_components.strong,{children:`Directory sync`}),` section.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=ae4447286d786b99d3e59f92d205b996`,alt:`The Directory Sync section before a directory has been configured`,\"data-og-width\":`1472`,width:`1472`,\"data-og-height\":`428`,height:`428`,\"data-path\":`screenshots/pages_team_authentication_directory_sync.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=280\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=2155725af82f5ac9cd0e604e44d9620f 280w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=560\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=936c857df7e83ca2bd6e7d895e342006 560w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=840\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=d892a90f942bc8965e067cd9953a66d7 840w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=ebb89ea7e7f4a2e1aa2db39206217dd7 1100w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=d164739b6fdfc22b50171e6aa5991fd1 1650w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=ae4a53181d0b04f590835990d1daa82a 2500w`})}),`\n`,_jsx(_components.p,{children:`The console describes what connecting a directory does, then opens the WorkOS\nAdmin Portal in a new tab. There you pick your identity provider, follow its\ninstructions to point the directory at Bijection, and choose the role each\ndirectory group grants. Complete every step there before coming back to the\nBijection console, because the directory is not connected until they are all\ndone.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=6f4b695b317bc6202c3cc35fdad2cbd4`,alt:`The Configure Directory Sync dialog, explaining the identity provider step`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`558`,height:`558`,\"data-path\":`screenshots/pages_team_authentication_directory_sync_configure.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=280\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=183f4a7ec4ceedbbb18c04cf4c708d98 280w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=560\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=4fbdeea2a35fc989145cf4bd47b88490 560w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=840\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=02f7a6be1001d55ce7728696c4c2f499 840w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=b739e671bb30ed7574a4c7bfc67a441c 1100w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=ac52e325d70165279355b58707be1ea0 1650w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_configure.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=d28a35004b80e776f0bed64bcdf25b96 2500w`})}),`\n`,_jsx(_components.p,{children:`Back in the Bijection console, the dialog shows the connection’s progress while\nyou work through that page, and updates once the directory is linked. You can\nclose it and come back later without losing your progress.`}),`\n`,_jsx(Heading,{level:`3`,id:`3-enable-directory-sync`,children:`3. Enable directory sync`}),`\n`,_jsxs(_components.p,{children:[`Once the directory is linked, the Directory Sync section asks you to enable it.\nSelect `,_jsx(_components.strong,{children:`Review`}),` to open the confirmation page.`]}),`\n`,_jsxs(_components.p,{children:[`Check the acknowledgement and select `,_jsx(_components.strong,{children:`Enable directory sync`}),`. The prompt to\nreview goes away. Bijection refuses to enable Directory Sync unless at least one\nteam admin holds a membership the directory does not manage, because the\ndirectory could otherwise leave the team without an admin.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=453d46c036abbe21a30479f995e46930`,alt:`The Directory Sync section with directory management enabled`,\"data-og-width\":`1472`,width:`1472`,\"data-og-height\":`356`,height:`356`,\"data-path\":`screenshots/pages_team_authentication_directory_sync_enabled.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=280\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=91b47e4741ec92eda8aa01d892db9976 280w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=560\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=cf253da44d93d2c4a293217f72bda1e7 560w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=840\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=0273d73bc9b9bc3b4b4b614174989ea7 840w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=159a61de3745139531464c60693717e1 1100w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=1c53a794e611639e902c3aea546f8111 1650w, https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_directory_sync_enabled.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MXGsXPKmgvoqOVRN\u0026q=85\u0026s=6773fe257bfb37f35b0d8ec31d8fbc27 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`how-members-join`,children:`How members join`}),`\n`,_jsx(_components.p,{children:`Directory Sync adds people to the team directly. There are no offers or\ninvitations to accept and no pending members: once your directory provisions a\nuser into a group that grants a role, WorkOS makes them a member of your team\nwith that role, and the team appears in their team switcher when they sign in\nto Bijection as that user.`}),`\n`,_jsx(Heading,{level:`2`,id:`keeping-the-team-in-sync`,children:`Keeping the team in sync`}),`\n`,_jsx(_components.p,{children:`Once Directory Sync is enabled, changes in your identity provider are applied to\nyour Bijection team by WorkOS:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Adding a user to a group that grants a role adds them to the team with that\nrole.`}),`\n`,_jsx(_components.li,{children:`Moving a user between groups, or changing the role a group grants in the\nAdmin Portal, changes their Bijection role.`}),`\n`,_jsxs(_components.li,{children:[`Suspending a user in the directory, or removing them from it, removes them\nfrom the Bijection team. See\n`,_jsx(_components.a,{href:`#deprovisioning-removes-members`,children:`Deprovisioning removes members`}),` for what\nthat means for them.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`How quickly a change arrives depends on your identity provider and WorkOS.`}),`\n`,_jsx(_components.p,{children:`You cannot change the role of a member the directory manages, or remove them\nfrom the team, from the Bijection console. Change their groups or their\nmembership in your identity provider, or the group roles in the WorkOS Admin\nPortal, instead. Members the directory does not manage are unaffected.`}),`\n`,_jsxs(_components.p,{children:[`To manage the directory connection or view its current status, use the\n`,_jsx(_components.strong,{children:`⋮ → Manage`}),` button, which opens the WorkOS Admin Portal.`]}),`\n`,_jsx(Heading,{level:`2`,id:`disabling-directory-sync`,children:`Disabling Directory Sync`}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`⋮ → Disable Directory Sync`}),` to disconnect the directory. Bijection\nturns directory management off and deletes the directory. The memberships your\ndirectory wrote are withdrawn with it: those members leave the team, the\ncredentials they hold for the team are revoked, and their project roles are\nremoved. Members the directory did not add keep their membership and role.`]}),`\n`,_jsx(Heading,{level:`2`,id:`things-to-know`,children:`Things to know`}),`\n`,_jsx(Heading,{level:`3`,id:`project-roles-are-managed-separately`,children:`Project roles are managed separately`}),`\n`,_jsxs(_components.p,{children:[`Your directory sets a member’s team role.\nAn explicit `,_jsx(_components.a,{href:`/operate/administration/roles#explicit-project-grants`,children:`project grant`}),`\nis assigned from that project’s settings.`]}),`\n`,_jsx(Heading,{level:`3`,id:`deprovisioning-removes-members`,children:`Deprovisioning removes members`}),`\n`,_jsx(_components.p,{children:`Suspending a user in your directory, or removing them from it, removes them from\nthe Bijection team. In one step, the credentials issued to them for the team are\nrevoked and the organization role grants and project grants held through that\nmembership are removed. If your directory provisions them again, their project\nroles have to be set up again.`}),`\n`,_jsx(Heading,{level:`3`,id:`group-roles-live-in-the-workos-admin-portal`,children:`Group roles live in the WorkOS Admin Portal`}),`\n`,_jsxs(_components.p,{children:[`Bijection keeps no mapping of directory groups to roles: the role each group\ngrants is set in the WorkOS Admin Portal, which `,_jsx(_components.strong,{children:`Open Admin Portal`}),` under\n`,_jsx(_components.strong,{children:`Directory group roles`}),` opens. Changing a group mapping from Bijection is\nalways refused.`]}),`\n`,_jsx(Heading,{level:`3`,id:`members-are-bound-explicitly-never-matched-by-email`,children:`Members are bound explicitly, never matched by email`}),`\n`,_jsx(_components.p,{children:`Bijection never links a directory user to a Bijection account because their\nemails match. A member is managed by your directory exactly when WorkOS reports\ntheir team membership as directory-managed; every other member is managed from\nthe Bijection console.`}),`\n`,_jsx(Heading,{level:`3`,id:`recovering-from-a-lockout`,children:`Recovering from a lockout`}),`\n`,_jsxs(_components.p,{children:[`If a team is left without any admin, Bijection support can restore access by\ninviting one administrator. Write to\n`,_jsx(_components.a,{href:`mailto:contact@bijection.com`,children:`contact@bijection.com`}),` from an address of the team.`]}),`\n`,_jsx(Heading,{level:`2`,id:`who-can-configure-directory-sync`,children:`Who can configure Directory Sync`}),`\n`,_jsx(_components.p,{children:`Reading directory status requires an Authority Read grant on the organization.\nChanging the directory binding requires Authority Write. Configure group-to-role\nmappings through the WorkOS Admin Portal.`}),`\n`,_jsxs(_components.p,{children:[`Enabling and disabling Directory Sync are recorded in the\n`,_jsx(_components.a,{href:`/operate/administration#audit-log`,children:`team audit log`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"config":{},"pageMetadata":{"title":"Directory Sync (SCIM)","description":null,"href":"/operate/administration/directory-sync"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Setting up Directory Sync","slug":"setting-up-directory-sync","depth":2,"children":[{"title":"1. Verify a domain","slug":"1-verify-a-domain","depth":3,"children":[]},{"title":"2. Connect your directory in the WorkOS Admin Portal","slug":"2-connect-your-directory-in-the-workos-admin-portal","depth":3,"children":[]},{"title":"3. Enable directory sync","slug":"3-enable-directory-sync","depth":3,"children":[]}]},{"title":"How members join","slug":"how-members-join","depth":2,"children":[]},{"title":"Keeping the team in sync","slug":"keeping-the-team-in-sync","depth":2,"children":[]},{"title":"Disabling Directory Sync","slug":"disabling-directory-sync","depth":2,"children":[]},{"title":"Things to know","slug":"things-to-know","depth":2,"children":[{"title":"Project roles are managed separately","slug":"project-roles-are-managed-separately","depth":3,"children":[]},{"title":"Deprovisioning removes members","slug":"deprovisioning-removes-members","depth":3,"children":[]},{"title":"Group roles live in the WorkOS Admin Portal","slug":"group-roles-live-in-the-workos-admin-portal","depth":3,"children":[]},{"title":"Members are bound explicitly, never matched by email","slug":"members-are-bound-explicitly-never-matched-by-email","depth":3,"children":[]},{"title":"Recovering from a lockout","slug":"recovering-from-a-lockout","depth":3,"children":[]}]},{"title":"Who can configure Directory Sync","slug":"who-can-configure-directory-sync","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bijection-95ba84d3","siteName":"Bijection","title":"Directory Sync (SCIM) - Bijection","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T13:04:02.342Z","originalFileLocation":"operate/administration/directory-sync.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Bijection\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Directory Sync (SCIM) - Bijection\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bijection\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bijection.com/operate/administration/directory-sync\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bijection-95ba84d3.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Directory+Sync+%28SCIM%29\u0026amp;theme=4fde166fd450e54a4f9c0a9d\u0026amp;signature=ddfacc0c38ba96e379c022486288da7b79e702dab96d2ecf411eaf1b9acfd95d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Directory Sync (SCIM) - Bijection\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bijection-95ba84d3.mintlify.site/_mintlify/api/og/v2?division=Administration\u0026amp;title=Directory+Sync+%28SCIM%29\u0026amp;theme=4fde166fd450e54a4f9c0a9d\u0026amp;signature=ddfacc0c38ba96e379c022486288da7b79e702dab96d2ecf411eaf1b9acfd95d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bijection-95ba84d3/F6K2-cbxn1HNlaPn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bijection\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bijection.com/operate/administration/directory-sync\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/operate/administration/directory-sync.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bijection.com/#organization\",\"name\":\"Bijection\",\"url\":\"https://docs.bijection.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bijection-95ba84d3/gsJxdHnUQekCt9N_/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=gsJxdHnUQekCt9N_\u0026q=85\u0026s=35e0b89a63bb95ac348a34e44cc0f8e4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bijection.com#website\",\"name\":\"Bijection\",\"url\":\"https://docs.bijection.com\",\"publisher\":{\"@id\":\"https://docs.bijection.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bijection.com/operate/administration/directory-sync#webpage\",\"url\":\"https://docs.bijection.com/operate/administration/directory-sync\",\"name\":\"Directory Sync (SCIM)\",\"dateModified\":\"2026-11-24T13:04:02.342Z\",\"isPartOf\":{\"@id\":\"https://docs.bijection.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bijection.com/operate/administration/directory-sync#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bijection.com/operate/administration/directory-sync#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Operate an installation\",\"item\":\"https://docs.bijection.com/operate/installations/credentials\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Operations\",\"item\":\"https://docs.bijection.com/operate\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Administration\",\"item\":\"https://docs.bijection.com/operate/administration\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Directory Sync (SCIM)\",\"item\":\"https://docs.bijection.com/operate/administration/directory-sync\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bijection.com/operate/administration/directory-sync#article\",\"headline\":\"Directory Sync (SCIM)\",\"name\":\"Directory Sync (SCIM)\",\"url\":\"https://docs.bijection.com/operate/administration/directory-sync\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bijection.com/operate/administration/directory-sync#webpage\"},\"dateModified\":\"2026-11-24T13:04:02.342Z\",\"publisher\":{\"@id\":\"https://docs.bijection.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bijection.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bijection\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bijection\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/operate/administration/directory-sync.md","siteName":"Bijection","nav":{"global":null,"tabs":[{"tab":"Start","pages":[{"title":"Start","href":""}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/platform"}]},{"tab":"Operate","groups":[{"group":"Operate an installation","pages":[{"group":"Operations","root":{"title":"Operate an installation","href":"/operate"},"pages":[{"group":"Installations","root":{"title":"Installations","href":"/operate/installations"},"pages":[{"title":"Installation credentials and deploy keys","href":"/operate/installations/credentials"},{"title":"Working with multiple installations","href":"/operate/installations/environments"},{"group":"Frontend","root":{"title":"Hosting","href":"/operate/installations/frontend"},"pages":[{"title":"Custom app adapters","href":"/operate/installations/frontend/adapters"},{"title":"Custom Hosting","href":"/operate/installations/frontend/custom"},{"title":"Using Bijection with Netlify","href":"/operate/installations/frontend/netlify"}]},{"title":"Installation history","href":"/operate/installations/history"},{"title":"Multiple repositories","href":"/operate/installations/multiple-repositories"},{"title":"Portable archives","href":"/operate/installations/portable-archives"},{"title":"Regions","href":"/operate/installations/regions"},{"title":"Deploy history","href":"/operate/installations/deploys"}]},{"group":"Configuration","pages":[{"title":"Environment Variables","href":"/operate/configuration/environment-variables"}]},{"group":"Networking","root":{"title":"Networking","href":"/operate/networking"},"pages":[{"title":"Custom Domains","href":"/operate/networking/domains"}]},{"group":"Administration","root":{"title":"Teams","href":"/operate/administration"},"pages":[{"title":"Profile","href":"/operate/administration/account"},{"title":"Administrative approvals","href":"/operate/administration/approvals"},{"title":"Administrative credentials","description":null,"href":"/operate/administration/credentials"},{"title":"Directory Sync (SCIM)","href":"/operate/administration/directory-sync"},{"title":"Projects","description":null,"href":"/operate/administration/projects"},{"title":"Access Scopes and Levels","href":"/operate/administration/role-actions"},{"title":"Organization Roles and Project Grants","href":"/operate/administration/roles"},{"title":"Single Sign-On (SSO)","href":"/operate/administration/sso"}]},{"group":"Observability","root":{"title":"Observability","href":"/operate/observability"},"pages":[{"title":"Audit logs and receipts","href":"/operate/observability/audit-log"},{"title":"Exception Reporting","href":"/operate/observability/error-reporting"},{"title":"Health","href":"/operate/observability/health"},{"title":"Log Export","href":"/operate/observability/log-export"},{"title":"Logs","href":"/operate/observability/logs"},{"title":"Tracking Usage","href":"/operate/observability/usage-attribution"}]},{"group":"Data","root":{"title":"Data Import \u0026 Export","href":"/operate/data"},"pages":[{"title":"Backups","href":"/operate/data/backup-and-restore"},{"title":"Data Export","href":"/operate/data/export"},{"title":"Data Import","href":"/operate/data/import"}]},{"group":"Security","pages":[{"title":"Abuse Protection","href":"/operate/security/abuse-protection"},{"title":"Leaked Credentials","href":"/operate/security/leaked-credentials"}]},{"title":"Placement","href":"/operate/placement"},{"title":"Partner sync","href":"/operate/partner-sync"},{"title":"Usage and budgets","href":"/operate/usage"},{"title":"Service guarantees","href":"/operate/service-guarantees"},{"title":"Limits","href":"/operate/limits"},{"title":"Availability and installation options","href":"/operate/availability"},{"title":"Contact Us","href":"/operate/support"}]}]}]},{"tab":"Reference"},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples"}]}]},"basePath":"","title":"Directory Sync (SCIM) - Bijection","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BAWZma9N.js","DynamicMarkdown-DpB7I7uN.js","zoom-image-lightbox-CB5cBw1h.js","lightbox-handle-r17bVUz3.js"]}