How to set up SSO and SCIM across multiple workspaces
Plain can connect multiple workspaces to a single SSO and SCIM directory sync configuration. This lets an organization with several Plain workspaces manage authentication and user provisioning through one identity provider connection. It is not self-service: Plain support configures it for you, and you complete a few steps in your identity provider.
What it does
- One SSO connection authenticates users across all connected workspaces. Plain reuses the SSO connection of one of your workspaces, so you do not need to create a new one.
- One SCIM directory provisions and deprovisions users into the right workspaces based on your identity provider group mappings.
- Each workspace keeps its own roles, such as Admin, Support and Viewer. Access to a workspace and its role are decided by the identity provider groups a user belongs to.
- After signing in, users only see the workspaces they have a role in.
How to request it
Open a support thread with Plain and include:
- The workspaces you want to connect.
- Which of those workspaces has the SSO connection you want to keep. Plain reuses this one for all the connected workspaces.
- Which identity provider you use, such as Okta, Azure AD or Google Workspace.
Plain support will configure the connection and send you the links you need to finish setup in your identity provider.
What you need to do
As an example, say you want to connect workspace A and workspace B, and keep the SSO connection of workspace A.
- Create identity provider groups, one per workspace per role. For each workspace you connect and each role you want to use (Owner, Admin, Support, Viewer, or a custom role), create a separate group. For workspaces A and B with Admin and Support roles, that is four groups: A Admin, A Support, B Admin and B Support.
- Add your users to the groups. Users from workspace B who need to keep access must be added to the B groups for their role. Users who need access to both workspaces go in a group for each workspace. A user with no group for a workspace loses access to that workspace when the connection goes live.
- Map the groups to roles in the admin portal. Plain support sends you a link to the admin portal (powered by WorkOS). Every connected workspace has its own set of roles there, named after the workspace, for example "Workspace A - Admin". Assign each identity provider group to the matching workspace role.
- Check the result with Plain support. Before the switch, Plain support runs a check that lists every user and the role they would get in each workspace, and flags problems, for example a user mapped to a general Owner, Admin, Support or Viewer role that would apply to every workspace instead of one workspace role. You fix anything it flags, then Plain support makes the switch.
What to expect when it goes live
- Anyone signed in through the old connection is asked to pick a workspace the next time they sign in.
- Users with a new role or access are updated from your directory automatically. A user who has not signed in to Plain before gets their role the first time they do.
Single workspace SSO
If you have only one workspace, configure SSO and directory sync in Settings, then SSO. The multi-workspace setup is only needed when connecting two or more workspaces.
Requirements
- Available on the Frontier plan.
- Admin access to your identity provider.