Org not enforced when app is configured for business users

I have an app configured for business users. I tried logging in without providing the org name or id. Instead of rejecting the request, its routing me to SSO configured on my domain.

Hi @spennada

Welcome to the Auth0 Community!

I understand that you were routed to SSO on your domain when trying to login without providing Organization information.

This behaviour likely was caused as Auth0 is automatically detecting your Organization and Identity Provider using Home Realm Discovery (HRD) and Organization Domain Discovery based on your email domain. If your Auth0 tenant has verified domains mapped to specific Organizations, the system evaluates the email domain to streamline the Business-to-Business (B2B) login experience rather than throwing an error.

Allow me to also share our documentation on Self-Service Enterprise Configuration that could provide useful information for your use-case, outlining the steps for a more streamline B2B login experience for your Enterprise customers.

Hope this helped, let us know if we can further assist with anything else on this topic and we will gladly look into it!

Best regards,
Gerald

Thanks for responding.

I have a follow-up question please..

If I am part of an org and the SSO connection is enabled in the org, along with domain mapping in place. Does the user get logged in the context of org or no?