Manage enterprise connections
Auth and access
Home realm discovery (HRD) provides a seamless sign-in experience for your enterprise auth users. When HRD is configured and a user sign in, Kinde checks which IdP or connection group a user belongs to, before authenticating them. It is also known as Identity Provider or IdP discovery.
When HRD is set up in Kinde, users are authenticated based on the Home Realm Domain (email domain) that is entered.
HRD is usually applied where your identity provider (IdP) is a third party, such as Microsoft Entra ID, Google, Cloudflare, etc, and you are using an enterprise or SAML auth setup.
By default, Kinde provides a universal login page where users of any enterprise connection can sign in. They are then silently routed and verified via the relevant IdP.
When you set up a Microsoft Entra ID or custom SAML connection, you’ll configure the home realm (or domains) to be recognized during authentication. All home realm domains must be unique across all connections in the environment.
If HRD is not in place, the end-user must select the relevant log in button to be taken through to the right authentication URL.
When you apply HRD in Kinde, the end-user is recognized and authenticated based on their email domain, without having to select or click anything.
For example, you could configure two different connections as follows:
enterpriseA.com use SAML connection AenterpriseB.com use Entra ID connection BIn the back end, the end-user is linked to the correct identity provider via the connection, and they are silently authenticated.
So when Jude Watson arrives at the sign in window and enters judewatson@enterpriseA.com, they are routed to the IdP for SAML connection A, and authenticated.
Home realm domains also apply to sign-ins that start from a SAML application, when the connection is enabled on that application’s Authentication tab.
Setting home realm domains on a connection hides its SSO sign-in button by default, so users are routed silently by email domain. You can override this per connection with the Sign-in button option:
Hide does not switch off home realm discovery. Users with a matching email domain are still routed to the connection’s IdP and signed in.
Learn more about showing or hiding the SSO sign-in button.
Yes. When home realm discovery is active, enterprise users are routed directly to their identity provider based on their email domain — before any organization selection takes place. This has a few important implications:
org_code is not supported under HRD — Because HRD routes users before org selection occurs, passing org_code to override the destination organization is not supported for enterprise connections using home realm discovery. The user will always land in the organization linked to the matching enterprise connection.