# Identifier-first Login rule/hook/action

**URL:** <https://community.auth0.com/t/identifier-first-login-rule-hook-action/131804>\
**Category:** Get Help\
**Tags:** home-realm-discovery, login-experience\
**Created:** [April 11, 2024, 4:17pm UTC](https://community.auth0.com/t/identifier-first-login-rule-hook-action/131804 "2024-04-11T16:17:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xieqing2000](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Xieqing2000](https://community.auth0.com/u/Xieqing2000)\
**Post date:** [April 11, 2024, 4:17pm UTC](https://community.auth0.com/t/identifier-first-login-rule-hook-action/131804/1 "2024-04-11T16:17:43Z")

</div>

Hi,

I have a very similar question to a question asked in 2021 - " is there a way to intercept a login from the first screen? For my purpose HRD is not enough. "

In my case, using the out of box HRD for checking domain name to redirect to different IDPs does not satisfy the requirement. I would like to use rule/hook/action to check the identifier (not using domain) then redirect.

The answer to the 2021 question is No. I wonder whether after 3 years anything has been changed, and what is the best way to tackle this.

Thanks!

---

<div class="post-metadata">

**Author:** ![qchau-ontra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/qchau-ontra/32/75167_2.png) [@qchau-ontra](https://community.auth0.com/u/qchau-ontra)\
**Post date:** [June 13, 2025, 5:45pm UTC](https://community.auth0.com/t/identifier-first-login-rule-hook-action/131804/2 "2025-06-13T17:45:24Z")

</div>

This may help

`community.auth0.com/t/my-solution-to-custom-claim-in-access-token-custom-home-realm-discovery-and-user-impersonation/187686`

---

<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:** [June 27, 2025, 5:45pm UTC](https://community.auth0.com/t/identifier-first-login-rule-hook-action/131804/3 "2025-06-27T17:45:32Z")

</div>

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