> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Single sign-on (SSO)

> Add enterprise single sign-on with Okta or Microsoft Entra ID to your Replit app through the Clerk dashboard, plus multi-factor authentication and session controls.

Let people sign in to your app with their company identity provider, such as Okta or Microsoft Entra ID. If your app uses [Clerk Auth](/features/auth-and-identity/clerk-auth), you configure SSO and other advanced authentication features through the Clerk dashboard. Ask Agent for what you need, and Agent directs you to the dashboard to complete the setup.

<Frame>
  <img src="https://mintcdn.com/replit/cvs5z9OGXBFuFLAf/images/workspace/auth/sso-cover.jpeg?fit=max&auto=format&n=cvs5z9OGXBFuFLAf&q=85&s=be8232f2007528a9dc73b18725e742d1" alt="Build Replit apps with SSO banner with a lock icon, showing a builder working on a laptop." width="1920" height="1080" data-path="images/workspace/auth/sso-cover.jpeg" />
</Frame>

The Clerk Dashboard goes well beyond the default sign-in experience. Any configuration you make in Clerk applies automatically to your Replit app's authentication.

## What you can configure

* **Enterprise SSO connections**: Configure single sign-on with Okta or Microsoft Entra ID, using OIDC or SAML. Let customers sign in with their company identity provider. SSO also secures internal tools that handle sensitive data, replacing manual email allowlists with your company's existing identity provider.
* **Multi-factor authentication (MFA)**: Add MFA to your app's sign-in flow.
* **Session controls**: Adjust session lengths and verification frequency.
* **Other Clerk settings**: Additional Clerk configuration applies to your Replit app automatically. Don't change API keys or environment settings — Replit manages those. See [Development and Production environments](/features/auth-and-identity/clerk-auth#development-and-production-environments).

## Open the Clerk Dashboard

Ask Agent for the authentication change you need. Agent sets up what it can and directs you to your app's Clerk Dashboard for configuration that needs your input.

<Frame>
  <img src="https://mintcdn.com/replit/WPloUkI4g79N4z7t/images/workspace/auth/build-with-sso-agent-workflow.webp?fit=max&auto=format&n=WPloUkI4g79N4z7t&q=85&s=88a06963c5dda455667bbf86036f5e27" alt="Agent directs a Clerk-powered app to configure enterprise SSO in the Clerk Dashboard." width="1602" height="1080" data-path="images/workspace/auth/build-with-sso-agent-workflow.webp" />
</Frame>

You can also open the dashboard from the Workspace:

1. In the Tools pane, select **Users & Auth**.
2. Select the **Configure** tab.
3. Select **Advanced**.
4. Under **Clerk dashboard**, select **Open Clerk dashboard**.

<Frame>
  <img src="https://mintcdn.com/replit/cvs5z9OGXBFuFLAf/images/workspace/auth/open-clerk-dashboard-tools-pane.webp?fit=max&auto=format&n=cvs5z9OGXBFuFLAf&q=85&s=d8b04aa2e860a5284475df81622cc369" alt="The Users & Auth tool with the Configure tab open, showing the Advanced section and the Open Clerk dashboard button." width="2158" height="1372" data-path="images/workspace/auth/open-clerk-dashboard-tools-pane.webp" />
</Frame>

## Set up an enterprise SSO connection

1. In the Clerk Dashboard, select **Configure**.
2. Under **User & authentication**, select **SSO connections**.
3. Select **Enterprise**.
4. Select **Add connection**.

<Frame>
  <img src="https://mintcdn.com/replit/cvs5z9OGXBFuFLAf/images/workspace/auth/build-with-sso-enterprise-connections.webp?fit=max&auto=format&n=cvs5z9OGXBFuFLAf&q=85&s=00dbad72bda6133493f450eebc305f21" alt="Clerk Dashboard showing the Enterprise SSO connections page and Add connection action." width="1826" height="1080" data-path="images/workspace/auth/build-with-sso-enterprise-connections.webp" />
</Frame>

For complete connection configuration, read the [Clerk documentation](https://clerk.com/docs).

### Validate the connection

After you complete the configuration, sign in with a test account from your identity provider. Make sure the account can access the expected parts of your app.

If sign-in fails, ask Agent for help. Include the identity provider, protocol, and error message in your request.

<Note>
  This page covers enterprise SSO for your app's own sign-in flow. For social sign-in with Google, GitHub, Apple, or X — labeled **SSO providers** in the Workspace — see [Sign-in providers](/features/auth-and-identity/sign-in-providers). This page does not cover Replit Auth migration or SAML sign-in for Replit accounts.
</Note>

## Pricing and availability

Clerk Dashboard access is available on the [Replit Pro](/billing/plans/replit-pro) plan. Enterprise plans are coming soon.

<Info>
  Enterprise SSO connections are free through October 1, 2026. After that date, SSO pricing matches Clerk's pricing and is passed through to your Replit bill.
</Info>

## Related documentation

* [Clerk Auth](/features/auth-and-identity/clerk-auth) explains how Clerk-powered authentication works in Replit apps.
