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

# Configure Security Policies

> Set up and manage Enterprise Single Sign-On (SSO) connections, including domain verification and Home Realm Discovery (HRD), for your Auth0 Team.

> [!WARNING]
>
> **The Enterprise SSO Connections for Auth0 Teams feature is in [Early Access](/docs/docs/troubleshoot/product-lifecycle/product-release-stages).**
>
> To participate, contact Auth0 Support.
>
> By using this feature, you agree to the applicable Free Trial terms in Okta's [Master Subscription Agreement](https://www.okta.com/legal).

Security policies allow [team owners](/docs/docs/get-started/auth0-teams/team-member-management) to configure and implement authentication rules that adhere to your organization's IT security policies for access to infrastructure systems or applications.

## Available Enterprise IdP Connections

Auth0 Teams allows you to connect to your identity provider (Identity Provider (IdP): Service that stores and manages digital identities.) (IdP) to provide single-sign on (SSO (Identity Provider (IdP): Service that stores and manages digital identities.)) for team members.

### Add SSO connection

> [card] Before you start
>
> Before you add and configure your Enterprise SSO connection, you need:
>
> * Your IdP provider (for example: Okta, ADFS, or Google Workspace)
> * Your IdP domain
> * Auth0 Callback URL: `https://auth0.auth0.com/login/callback`
> * Your IdP's Client ID, Client Secret, Sign In URL, and [signing certificate](/docs/docs/get-started/tenant-settings/signing-keys/view-signing-certificates) (requirements vary by IdP)
>
> **Email claim requirement**
>
> Your IdP must include the email claim in the assertion. If it is missing, the authentication request will fail.

You can configure an SSO connection in the Auth0 Teams Dashboard.

1. Navigate to **Auth0 Dashboard > Auth0 Teams > [Security Policies](https://accounts.auth0.com/teams/#/security-policies)**.
2. Select **Connections**.
3. Select **Add Connection**.
4. Select an identity provider.

![Add Connection - Select your Identity Provider](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/add-connection_identity-provider-light.png)

5. Add the connection and configure the required details, including your Client ID, Client Secret, Sign In URL, and Signing Certificate.
6. To ensure the connection appears on the login page, select **Show as Button**.

Once the set up is complete, navigate to the **[Connections](https://manage.auth0.com/dashboard/#/connections)** page. Use the toggle to enable or disable the connection.

![Connections page with enable/disable toggle](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/connections-light.png)

### Domain verification

To use Home Realm Discovery (HRD), you must first verify your domain.

1. Navigate to **Auth0 Teams > [Security Policies](https://accounts.auth0.com/teams/#/security-policies)** and select **Domain Verification**.
2. Select **Add Domain**.
3. Enter the identity provider's domain URL.
4. Add the provided TXT record to your DNS settings.
5. Select **Verify** to initiate domain verification.

Verification Status: Pending — Your domain is pending verification. Select **Verify** to refresh the status, or check back later. DNS changes may take up to 48 hours, but typically process faster.

![Domains page showing a verified domain](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/domains-light.png)

You can also delete a domain if needed. You should note, when you delete a domain, Home Realm Discovery is disabled for any connections tied to it.

### Configure Home Realm Discovery

If you enable HRD, Auth0 recognizes the domain of the email address a team member enters and directs them to the associated SSO connection.

Before you enable HRD:

* Notify your team members of the new behavior If you're using Team Member Management and just-in-time (JIT) provisioning.
* Ensure all members have an account on the associated SSO connection and they know how to log in If you're managing Team membership manually.

#### Configure HRD with Domain Verification

1. Navigate to **Auth0 Teams > [Security Policies](https://accounts.auth0.com/teams/#/security-policies)** and select **Domain Verification**.
2. Select a verified domain.
3. Open the three-dot menu and select **Configure**.
4. From the list of connections, select the connection to associate with the domain.

![Configure HRD modal - select connection to associate with domain](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/domains_configure-hrd-light.png)

#### Configure HRD in a new or existing connection

1. Go to **[Connections](https://manage.auth0.com/dashboard/#/connections)** and open an existing or new connection.
2. Select the **Home Realm Discovery** tab.

![Edit connection page showing the Home Realm Discovery tab](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/example/home-realm-discovery-light.png)

3. Verified domains appear in the list. Toggle **ON** the domain you want to associate with the connection.

### Edit connections

With Auth0 Teams SSO, you can update the following connection metadata after setup:

* Metadata
* Secret
* Certificate
* Associated Domains

To edit a connection:

1. Navigate to **Auth0 Dashboard > [Connections](https://manage.auth0.com/dashboard/#/connections)** and select **Edit Connection** for the connection you want to update.
2. Navigate to the setting you want to update and make your changes.

### Configure just-in-time (JIT) provisioning

JIT provisioning enables Auth0 to automatically create an account for team members who log in through an SSO connection. This allows team members to log in immediately after the SSO connection is enabled.

You must enable [Tenant Member Management](/docs/docs/get-started/auth0-teams/tenant-member-management) to configure JIT provisioning.

1. Enable [Tenant Member Management](/docs/docs/get-started/auth0-teams/tenant-member-management).
2. Navigate to **Auth0 Dashboard > [Connections](https://manage.auth0.com/dashboard/#/connections)** and select **Add Connection** or open an existing connection.
3. Navigate to the bottom of the page and enable **Assign Membership on Login**.
4. Go to the Teams Dashboard’s Settings page and note your team’s permalink value.
5. Instruct all team members to log out of the Auth0 Teams Dashboard and log in via the SSO connection. The URL structure for the team members to follow is `https://accounts.auth0.com/teams/{team-permalink}`.
6. Auth0 automatically creates a new account (on the SSO connection) for each team member.
7. Assign each team member’s new account the same [team role](/docs/docs/get-started/auth0-teams/team-member-management) as their old account.
8. (Optional) Delete each team member’s old account.

## Enforce single sign on

Auth0 Teams allows you to require team members to log in through one of your **Available Enterprise IdP Connections**.

Before turning on Enforce SSO:

* Ensure you have at least one active connection configured and at least one Team Owner role assigned to a member from that connection. Your account could be locked out with an assigned owner.
* You must be logged in through an SSO connection and have the **Team Owner** role. If you are not, but you have a connection configured, you can [invite yourself to your Auth0 Team](/docs/docs/get-started/auth0-teams/team-member-management) on that connection.
* Auth0 Teams does not allow disabling the last active connection in your team when Enforce SSO is turned on, to prevent accidental account lockouts.

![Enforce Single Sign On toggle](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/security-policies/connections_enforce-single-sign-on-light.png)

### Manage team and tenant membership manually

This method allows you to manage team members separately from tenant members.

For team members, [send a new invitation from the Teams Dashboard](/docs/docs/get-started/auth0-teams/team-member-management) and instruct them to accept the invitation using the SSO connection.

For tenant members, [send a new invitation from the Auth0 Dashboard](/docs/docs/get-started/manage-dashboard-access/add-dashboard-users) from each tenant they're a member of and instruct them to accept the invitation using the SSO connection.

After accepting the invitation, Private Cloud Enterprise customers that enforce SSO and/or use Tenant Member Management can click the **Continue with Auth0 Teams** login button in their Private Cloud Auth0 Dashboard.

## Access your tenant dashboard

This capability is available for Public Cloud customers only.

Once SSO is configured, you can navigate directly to your tenant's Auth0 Dashboard from the Teams Dashboard.

1. Navigate to **[Teams Dashboard > Tenants](https://accounts.auth0.com/teams/#/tenants)**. Your tenants are listed by name, environment, and region.

![Tenants page showing tenant list with clickable tenant names](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/auth0-teams/tenants-light.png)

2. Select the tenant name hyperlink in the tenant list.
3. Auth0 Dashboard redirects you to the selected tenant.

## See also

* [Troubleshoot connections](/docs/docs/get-started/auth0-teams/troubleshoot-teams)
