# Managed Domains

Learn how managed domains connect email domains to an Identity Provider.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

Managed domains connect email domains, such as `example.com`, to an Identity Provider. The OpenID Connect, SAML v2, and External JWT Identity Providers support managed domains. The [Lookup API](https://fusionauth.io/docs/apis/identity-providers.md#lookup-an-identity-provider) uses managed domains to find the Identity Provider for an email address.

## Managed Domains on the Login Page

The OpenID Connect and SAML v2 Identity Providers use managed domains on the FusionAuth login page. When users share an email domain, managed domains shorten the login:

1.  The login page asks the user for an email address.
2.  When the email domain matches a managed domain of an Identity Provider, FusionAuth redirects the user to the Identity Provider to authenticate.
3.  When the email domain doesn't match, the user continues with the standard email and password login.

When you enable an Identity Provider with managed domains for an Application, the login page of the Application changes for every user. Every user must enter an email address first.

## Managed Domains for External JWT

The External JWT Identity Provider has no login page. The [Reconcile API](https://fusionauth.io/docs/apis/jwt/reconcile-a-jwt-using-the-external-jwt-provider.md) checks the email address in a JWT against the managed domains, and rejects a JWT whose email address isn't in a managed domain. FusionAuth skips the check for a JWT without an email address. For more information, see [Add an External JWT IdP](https://fusionauth.io/docs/authentication/identity-providers/external-jwt.md#managed-domains).

## Domain Rules

One Identity Provider can manage several email domains, and several Identity Providers can have managed domains. In each Tenant, at most one Identity Provider can manage an email domain. Across a FusionAuth instance, an email domain belongs to one of the following:

*   A single global Identity Provider
*   Any number of tenant-scoped Identity Providers

For more information about global and tenant-scoped Identity Providers, see [Identity Provider Scope](https://fusionauth.io/docs/authentication/identity-providers/identity-provider-scope.md).

## Configure Managed Domains

To configure managed domains, navigate to Settings -> Identity Providers in the Admin UI, and edit an OpenID Connect, SAML v2, or External JWT Identity Provider. On the Managed domains tab, enter one domain on each line.

Related

[Authentication Add FusionAuth Login to an External Application Learn how to let users log in to a third-party application, such as a SaaS product, with their FusionAuth accounts over OpenID Connect or SAML v2. identity provideroidcsaml](https://fusionauth.io/docs/authentication/act-as-an-idp/add-login-to-external-app.md)

[Authentication Identity Provider Hints Learn how to send users from the hosted login pages straight to an Identity Provider with the idp\hint and login\hint parameters. idpidentity providermanaged domains](https://fusionauth.io/docs/authentication/identity-providers/hints.md)

[APIs External JWT API API documentation for the External JWT Identity Provider API. identity providerexternal jwt](https://fusionauth.io/docs/apis/identity-providers/external-jwt.md)

[APIs Identity Provider API Learn about the APIs for creating, retrieving, updating and deleting identity providers. identity providersaml](https://fusionauth.io/docs/apis/identity-providers.md)
---

## Other pages in Identity Providers

> For the full index of this section, see [Authentication](https://fusionauth.io/docs/llms-authentication.txt).

- [Identity Providers, Applications, and Overrides](https://fusionauth.io/docs/authentication/identity-providers/applications-and-overrides.md): Learn how Identity Providers work with Applications, CIMD clients, and Application-specific overrides.
- [Attribute Mappings](https://fusionauth.io/docs/authentication/identity-providers/attribute-mappings.md): Learn how to map claims from an Identity Provider response to FusionAuth user and registration fields without a lambda.
- [Add a SAML v2 with ADFS IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/adfs.md): Configure SAML v2 for Active Directory Federation Services (ADFS).
- [Add an OpenID Connect with Azure AD IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/azure-ad-oidc.md): Set up user login using Azure AD/Microsoft Entra ID as an OpenID Connect Identity Provider.
- [Add a SAML v2 with Azure AD IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/azure-ad-saml.md): Learn how to configure Azure AD (Microsoft Entra ID) as a SAML v2 Identity Provider for FusionAuth.
- [Add a OpenID Connect with Cognito IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/cognito.md): Set up user login using Cognito as an OpenID Connect Identity Provider.
- [Add a HYPR IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/hypr.md): Set up user login with HYPR using the HYPR Identity Provider.
- [Add an OpenID Connect with Okta IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/okta-oidc.md): Learn how to set up user login using Okta as an OpenID Connect Identity Provider.
- [Add a SAML v2 IdP-Initiated with Okta IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/okta-samlv2-idp-initiated.md): Configure SAML v2 IdP-Initiated SSO With Okta.
- [Add a SAML v2 with Okta IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/okta-samlv2.md): Configure SAML v2 for Okta.
- [Add a SAML v2 IdP-Initiated IdP](https://fusionauth.io/docs/authentication/identity-providers/enterprise/samlv2-idp-initiated.md): Learn how to let users log in to FusionAuth through a SAML v2 IdP-initiated Identity Provider.
- [External JWT IdP Example Usage](https://fusionauth.io/docs/authentication/identity-providers/external-jwt/example.md): Learn how to federate identity using the External JWT Identity Provider.
- [Add an External JWT IdP](https://fusionauth.io/docs/authentication/identity-providers/external-jwt.md): Learn how to configure an External JWT Identity Provider so FusionAuth can log in users with JWTs from a third-party identity provider.
- [Add an OpenID Connect with Discord IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/discord.md): Learn how to add a Login with Discord button to the FusionAuth login pages with the OpenID Connect Identity Provider.
- [Add an Epic Games IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/epic-games.md): Learn how to add an Epic Games login button to the FusionAuth login pages.
- [Add a Nintendo IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/nintendo.md): Learn how to add a Nintendo login button to the FusionAuth login pages.
- [Add a Sony PlayStation Network IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/sony.md): Learn how to add a Sony PlayStation Network login button to the FusionAuth login pages.
- [Add a Steam IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/steam.md): Learn how to add a Steam login button to the FusionAuth login pages.
- [Add a Twitch IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/twitch.md): Learn how to add a Twitch login button to the FusionAuth login pages.
- [Add an Xbox IdP](https://fusionauth.io/docs/authentication/identity-providers/gaming/xbox.md): Learn how to add an Xbox login button to the FusionAuth login pages.
- [Identity Provider Hints](https://fusionauth.io/docs/authentication/identity-providers/hints.md): Learn how to send users from the hosted login pages straight to an Identity Provider with the idp_hint and login_hint parameters.
- [Identity Provider Scope](https://fusionauth.io/docs/authentication/identity-providers/identity-provider-scope.md): Learn about global and tenant-scoped Identity Providers, and how to limit the links that each user can have to an Identity Provider.
- [Add an Identity Provider (IdP)](https://fusionauth.io/docs/authentication/identity-providers.md): Learn how to let users log in through an external identity provider such as Google or Okta.
- [Linking Strategies](https://fusionauth.io/docs/authentication/identity-providers/linking-strategies.md): Learn how FusionAuth links a user from an Identity Provider to a FusionAuth user.
- [Add an OpenID Connect IdP](https://fusionauth.io/docs/authentication/identity-providers/overview-oidc.md): Learn how to let users log in to FusionAuth through an external OpenID Connect Identity Provider.
- [Add an External SAML v2 IdP](https://fusionauth.io/docs/authentication/identity-providers/overview-samlv2.md): Learn how to let users log in to FusionAuth through an external SAML v2 Identity Provider.
- [Add an Apple IdP](https://fusionauth.io/docs/authentication/identity-providers/social/apple.md): Learn how to add a Sign in with Apple button to your application.
- [Add a Facebook IdP](https://fusionauth.io/docs/authentication/identity-providers/social/facebook.md): Learn how to add a Login with Facebook button to your application.
- [Add a Github IdP](https://fusionauth.io/docs/authentication/identity-providers/social/github.md): Set up user login using Github as an OpenID Connect Identity Provider.
- [Add a Google IdP](https://fusionauth.io/docs/authentication/identity-providers/social/google.md): Learn how to add a Login with Google button to your application.
- [Add a LinkedIn IdP](https://fusionauth.io/docs/authentication/identity-providers/social/linkedin.md): Learn how to add a Sign in with LinkedIn button to your application.
- [Add a Twitter/X IdP](https://fusionauth.io/docs/authentication/identity-providers/social/twitter.md): Learn how to add a Login with Twitter/X button to your application.
