Login loop when not in tenant, bad UX

I ran into a login loop as described in Auth0 Dashboard Login Loop on Chrome – Auth Succeeds but Returns to Login Page , most likely because I am not in the tenant.

Is this not a possible scenario you can detect and notify the user of in some way? I first logged in multiple times, cleared cookies, tried incognito before finally having to google and find the community post explaining the cause.

This was quite a bad experience for a product who’s main business is centered around that login page. The only hint I got was that in a fresh instance after logging in once the text went to “log in to Auth0” to “log in to team***”, after that it just loops with not indication why I am not getting into that team, as my details were correct.