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
Directory Sync only manages members whose Bijection account uses an email on a domain your team has verified, so verify a domain first if you have not already. See verifying a domain.2. Connect your directory
Select Configure in the Directory sync section.
3. Wait for the initial sync
After the connection is made, your identity provider sends over its users and the groups you selected to sync. Syncing those groups usually takes a few minutes, and can take up to an hour, as directory updates are processed on a schedule. Groups appear in Directory group roles as they arrive.
4. Map directory groups to roles
Each group in your directory maps to a Bijection team role. Use the edit button next to a group to change the role its members get.
- Admin, which grants full access to the team.
- Developer.
- One or more custom roles.
- No access, which is the default for any group you have not mapped. A directory user who is in no group, or only in groups you have not mapped, has no access to the Bijection team.
- Admin, if any of their groups maps to Admin.
- Otherwise, all of the custom roles granted by their groups, if any group grants one.
- Otherwise, Developer, if any of their groups maps to Developer.
- Otherwise, no access.
bijection-team-admins is reserved. It always maps to Admin, and
you cannot edit its mapping. See
Emergency lockout recovery.
5. Review the changes and enable
Directory Sync does not manage anyone until you turn it on. Select Review on the Directory Sync section to see what enabling it would change.

- Members who are in the directory take the role their groups grant, which may differ from the role they have today.
- Members who are not in the directory are marked Not in directory. They keep their access and their role until you remove them from the team or add them to the directory.
- Directory users who are not on the team yet are marked Not in team. Once Directory Sync is enabled, they may choose to join the team by selecting the team invitation from the team switcher in the Bijection console.
- Users who are not active in your directory are marked Suspended in directory. If such a user is a team member, they are removed from the team. If they are not a member, they are not offered the team.
- Users who are in no mapped group are marked Directory does not grant access, and are treated the same way.

How members join
Directory Sync offers the team to people instead of adding them to it. A directory user is offered your team once they have a Bijection account with a verified email that matches their directory entry, on one of your verified domains. The team shows up as an invitation in their team switcher, which they select to accept it:


Keeping the team in sync
Once Directory Sync is enabled, changes in your identity provider are applied to Bijection automatically:- Adding a user to the directory offers them the team, once one of their groups is mapped to a role.
- Moving a user between groups changes their Bijection role, and removes them from the team once they are in no mapped group.
- Changing a group’s mapping updates the role of everyone in that group.
- 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.
- The team stops accepting manual invitations. Add the person to your directory instead. Invitations sent before the directory was connected can no longer be accepted either.
- You cannot change the role of a member the directory manages, or remove them from the team, from the Bijection console. Move them between groups, or take them out of the directory, in your identity provider instead.
- Members the directory does not cover are unaffected, and anyone can still remove themselves from the team.
Disabling Directory Sync
Select ⋮ → Disable Directory Sync to disconnect the directory. Members your identity provider provisioned keep their team membership and the role they have at that moment. The team stops being managed by the directory right away, but the directory itself can take up to an hour to disappear from this page while Bijection finishes tearing the connection down. Deleting a verified domain has the same effect for the members on that domain: the directory can no longer manage them.Emergency lockout recovery
If every directory group maps to a non-admin role, if your admins end up in groups that do not grant Admin or in no mapped group at all, or if the directory has no users left, the team can be left without an admin and without anyone who can map one back. The reserved group namebijection-team-admins exists for this
case:
- In your identity provider, create a directory group named
bijection-team-admins(the match is case-insensitive). - Add the people who should be team admins to it.
- Wait for the group to sync. It appears under Directory group roles with the role Admin, and the edit button next to it is disabled, because this mapping cannot be changed from Bijection.
Things to know
Project roles are managed separately
Your directory sets a member’s team role. Project Admin is granted per project on the members page.Deprovisioning removes members
Suspending a user in your directory, or removing them from it, removes them from the Bijection team. They lose access immediately, along with their membership. Making them active in the directory again offers them the team, but their project roles have to be set up again.Deleting a group deletes its role mapping
This includes any custom roles mapped to the group. If you add the group back later it arrives unmapped, which grants no access, so its role and custom roles have to be set again. The same is true for a group you rename, which your identity provider may send as a delete and an add. A custom role cannot be deleted while a directory group maps to it. Remap those groups first, then delete the role.Members are matched by verified email
A directory user only links to a Bijection account that has verified the email your directory carries for them. If that email stops being verified on the account, that member is removed from your Bijection team.Who can configure Directory Sync
Team Admins can do everything on this page. Team Developers can see the configuration but not change it. With custom roles you can grant the individual role actions:directorySync:view, directorySync:enable, directorySync:disable,
directorySync:updateGroupMapping, and directorySync:deleteGroupMapping.
Reviewing the roster also requires member:view, because it lists each team
member and their role.
Enabling and disabling Directory Sync, and every change to a group’s role
mapping, is recorded in the
team audit log.