Skip to main content

Configure multiple SSO applications for your Glean tenant

You can connect more than one Single sign-on (SSO) application to a single Glean tenant. The SSO applications can come from a single identity provider (IdP), or multiple IdPs. Once you configure multiple SSO applications for your tenant, you can route incoming sign-ins to the right application based on the user's email domain.

You might use multiple SSO applications when one IdP or one SSO application can't represent every group of users that needs access to Glean, for example:

  • Mergers and acquisitions: A parent company and a newly acquired subsidiary each keep their existing IdP while sharing a single Glean deployment.
  • Multi-subsidiary or holding-company structures: Each business unit owns its own IdP and user directory, but you want one place to search and chat across all of them.
  • Multi-region deployments: Regional offices authenticate against region-specific IdPs (for compliance, latency, or operational reasons) but need a unified Glean experience.

What changes when multiple SSO applications are enabled​

When your tenant has only one SSO application configured, Glean uses a single global SSO setting, a single credential, and routes every successful authentication through that one application.

When your tenant has multiple SSO applications configured:

  • Each SSO application is a distinct SSO instance with its own configuration, credentials, and status.
  • Email domains can be mapped to specific instances. Users with an unmapped domain authenticate against the default instance.

Limitations​

  • Self-serve providers only: You can only add the SSO providers that appear in the Add SSO provider tile picker. To use an SSO provider that isn't available for self-serve setup, contact Glean Support to discuss your options.
  • Okta SAML: Okta Security Assertion Markup Language (SAML) doesn't support multiple instances yet. You can't add more than one Okta SAML instance to a tenant.

Open the multi-SSO settings​

Navigate to  Admin console → Users & permissions → Single sign-on (SSO).

The Single sign-on (SSO) page shows two sections:

  • SSO Providers: Manage the SSO instances used to authenticate users.
  • Domain routing: Route users to the correct SSO instance based on their email domain.

SSO Providers​

Glean supports SAML with Okta and generic providers. The Admin console labels Google Workspace SSO as GSuite SSO.

Each SSO instance has the following fields:

ColumnDescription
NameThe instance identifier. Glean generates this from the provider type and a short suffix, for example okta_sso_abc1234 or gsuite_sso_def4567. The Name links to the instance's setup page.
TypeThe provider type the instance was configured against. For example, Okta SSO, Okta SAML SSO, Google Workspace SSO, Azure SSO, or Generic OIDC.
DefaultYes for the default instance; No otherwise. The default instance handles sign-ins for any email domain that isn't explicitly mapped.
StatusConnected once setup is finished. Incomplete while the instance is still being configured. Only Connected instances can be set as default or assigned to a domain.
NotesOptional administrator notes about the instance.
Domains mappedThe number of email domains routed to this instance.

The three-dot menu (⋮) on each row provides options to Edit, Set as default, and Delete.

note

You cannot delete the default instance. To delete an instance that's set as default, first promote another Connected instance to default with Set as default. See Change the default instance.

Add a new SSO instance​

Here's how to add a new SSO instance:

  1. In the SSO Providers section, click Add SSO provider. Glean opens a tile picker showing every supported SSO provider.

  2. Click the tile for the IdP you want to add — for example, Okta SSO, Azure SSO, or Google Workspace SSO. Glean creates a new SSO instance and navigates you to its setup page.

  3. Follow the steps in the provider-specific guide to register a new application in your IdP and paste the resulting credentials, metadata URL, or client secret into Glean:

    When the instance reaches Connected status, it becomes eligible for domain routing and to be set as the default.

warning

Notify Glean of every email domain that will be used for sign-in with the new instance. Glean only accepts SSO callbacks from pre-approved domains, so unapproved domains will fail authentication even if domain routing is configured.

Update an existing SSO instance​

To rotate credentials, update metadata, or change other settings on an existing instance:

  1. In the SSO Providers table, click the instance Name, or open the three-dot menu and click Edit.
  2. Update the relevant fields on the instance's setup page.
  3. Click Save.

Updates take effect immediately. Existing user sessions continue with the previously cached configuration until they expire or the user signs in again.

Change the default instance​

To change the default instance:

  1. In the SSO Providers table, open the three-dot menu on a Connected instance and click Set as default.
  2. Glean updates the Default column to Yes for the chosen instance and No for the previous default.

Changing the default does not move any explicitly mapped domains. Domains that are already routed to specific instances continue to route to those instances; only unmapped domains shift to the new default.

tip

Set as default is disabled until the instance reaches Connected status. Finish configuring an instance before promoting it.

Domain-based routing​

The Domain routing table maps email domains to specific SSO instances. Each row shows:

ColumnDescription
DomainThe email domain (for example, subsidiary.com). The row representing the default instance shows a DEFAULT tag instead of a specific domain.
SSO InstanceThe instance that handles sign-ins for users with that email domain.
Verified?Yes if the domain has been verified for your tenant; No if it hasn't. The default row leaves this empty.

Entering an email with an unverified domain at app.glean.com doesn't automatically route the user to your Glean instance. Contact Glean Support to add a domain to your verified domains list.

When a user signs in, Glean looks up the domain on the right side of their email address:

  • If the domain is mapped to an instance, the user is routed to that IdP.
  • If the domain isn't mapped, the user is routed to the default instance.

Assign a domain to an instance​

To route a domain to a specific instance:

  1. In the Domain routing section, click Add domain.
  2. Pick a domain from the Domain dropdown. Only domains that have already been approved for your tenant appear in the list. To add a domain that isn't listed, contact Glean to add it first.
  3. Pick the target instance from the SSO Instance dropdown. Only instances with Connected status are selectable.
  4. Click Save.

If the domain was previously assigned to a different instance, Glean removes the old mapping before adding the new one. Each domain can only be routed to one instance at a time.

Change which instance a domain is routed to​

To change the instance that a domain is routed to:

  1. In the Domain routing table, open the three-dot menu on the row for the domain and click Edit.
  2. Pick a different instance from the SSO Instance dropdown.
  3. Click Save.

Remove a domain mapping​

To remove a domain mapping:

  1. In the Domain routing table, open the three-dot menu on the row for the domain and click Delete.
  2. Confirm the removal.

Once the mapping is removed, users with that email domain are routed to the default instance on their next sign-in. Removing a mapping never deletes the domain itself — it only unbinds it from the instance.

See also​

See the following documentation to set up SSO for your Glean tenant: