Self-serve SSO
By default, enterprise SSO connections are configured by your team within the Clerk Dashboard. For every enterprise customer that needs SSO, someone on your side has to create the connection, exchange metadata with the customer's IT admin, test the connection, and activate it. As your enterprise motion scales, this becomes a bottleneck.
Self-serve SSO lets you delegate that configuration directly to your customers' IT admins. When you enable it for an Organization, a Security tab appears in that Organization's <OrganizationProfile />, where an Organization admin can set up and manage the connection end-to-end: adding domains, choosing an identity provider, exchanging metadata, and testing the connection.
The connection is scoped to the Organization it's configured in, and behaves like any other enterprise connection once it's live.
Requirements
For an admin to configure a connection, the following must be true:
- Your application uses Clerk Organizations.
- Self-serve SSO is enabled for the Organization in the Clerk Dashboard.
- The signed-in user is a member of the Organization with the
org:sys_entconns:manageSystem Permission. This permission ships with the default Admin Role. If you've defined custom Roles, add the Permission to any Role that should be able to manage enterprise connections. For more information, refer to the Roles and Permissions guide.
Enable self-serve SSO
Self-serve SSO is enabled per Organization. Until you enable it for an Organization, the Security tab will not appear in that Organization's <OrganizationProfile />.
- In the Clerk Dashboard, navigate to the Organizations page.
- Select the Organization you want to enable self-serve SSO for.
- Open the Settings tab.
- In the Organization permissions section, enable Allow this organization to set up enterprise SSO.
Once enabled, the Security tab becomes available in that Organization's <OrganizationProfile /> for admins. If your application already renders <OrganizationProfile />, including through the <OrganizationSwitcher /> component, the flow surfaces there automatically. If not, render the component on a page where Organization admins can reach it.
How the flow works
When an admin opens the Security tab in <OrganizationProfile />, they're guided through the following steps:
- Domains — The admin adds one or more domains to claim for the connection and verifies ownership of each by publishing a DNS
TXTrecord that Clerk checks. - Connection — The admin selects an IdP and provides the protocol-specific configuration. IdP setup instructions are embedded inline, so you don't need to author or maintain your own walkthroughs. Self-serve SSO supports Okta, Google Workspace, Microsoft Entra ID, and custom SAML.
- Test — The admin runs a test sign-in to confirm the connection works end-to-end.
- Activate — Once the test passes, the admin activates the connection.
Next steps
Once a connection is created, it behaves like any other Clerk enterprise connection. Users with matching email domains can sign in via the configured IdP. To learn more, refer to:
Feedback
Last updated on