# Redirect when Home Realm Discovery fails to Match

**URL:** <https://community.auth0.com/t/redirect-when-home-realm-discovery-fails-to-match/120965>\
**Category:** Get Help\
**Tags:** home-realm-discovery, login-experience\
**Created:** [November 15, 2023, 6:23pm UTC](https://community.auth0.com/t/redirect-when-home-realm-discovery-fails-to-match/120965 "2023-11-15T18:23:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brendan2/32/49195_2.png) [@brendan2](https://community.auth0.com/u/brendan2)\
**Post date:** [November 15, 2023, 6:23pm UTC](https://community.auth0.com/t/redirect-when-home-realm-discovery-fails-to-match/120965/1 "2023-11-15T18:23:09Z")

</div>

Our application uses a combination of an in-house authentication scheme as well as Auth0 to login users with enterprise accounts. I would like to use the Identifier-First option for Universal Login with Home Realm Discovery for these enterprise customers. However, when we don’t match the user’s entered domain, I would like to redirect back to our native login. Is this possible?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 20, 2023, 4:03pm UTC](https://community.auth0.com/t/redirect-when-home-realm-discovery-fails-to-match/120965/3 "2023-11-20T16:03:20Z")

</div>

Hi @brendan2,

Welcome to the Auth0 Community!

There isn’t currently a simple way to tap into the identifier part of the login flow. There are plans for a trigger that sounds like would cover this use case.

More info in the bottom of this thread: [Feature: pre-login Action (for email/password-based login attempts) - #12 by dan.woda](https://community.auth0.com/t/feature-pre-login-action-for-email-password-based-login-attempts/82725/12)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 4, 2023, 4:03pm UTC](https://community.auth0.com/t/redirect-when-home-realm-discovery-fails-to-match/120965/4 "2023-12-04T16:03:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
