Configure Login Flow for Auth0 Organizations and Personal Accounts
Last Updated:
Overview
This article explains how to configure the login flow to support both organizations and personal accounts without requiring the selection of a prompt to continue with a personal account. It details the process for enabling automatic detection of organization emails that fall back to email and password authentication for standard registered users.
Applies To
- Auth0
- Organizations
- Universal Login
Solution
Use Prompt for Credentials Flow with Business Users Setting
-
Go to the Auth0 Dashboard.
-
Choose Applications > Your App > Organizations.
-
Select Prompt for Credentials for the Login Flow.
-
Select Both Business and Personal Users for the Type of Users.
-
When set to Both Business and Personal Users, the Universal Login page prompts for an email address.
-
The system determines whether an email belongs to an organization via domain matching or Home Realm Discovery (HRD).
-
The login routes to the organization's connection if matched, or falls back to personal account login if not matched.
-
Review Login Flows for Organizations for additional information.
-
Home Realm Discovery via Email Domain
-
Go to Authentication > Enterprise > [Your Connection] > Login Experience.
-
Add the HRD domains.
-
Alternatively, assign domain aliases on the connection programmatically using the Management API.
-
This configuration automatically routes the login to the correct organization's enterprise connection based on the entered email domain.
-
Review Identifier First Login for additional information.
-
Review Home Realm Discovery for additional information.
-
Review Configure Home Realm Discovery for additional information.
-