Identifier-first Login rule/hook/action

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!