Skip to main content
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 Directory Sync section before a directory has been configured
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.
The Configure Directory Sync dialog, explaining the identity provider step
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.
The Directory Sync section with directory management enabled

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.