Appearance
How do I route logins by email domain?
Who can do this
Owner or Admin
Auth rules decide what happens when a user types their email at the sign-in screen — go to SSO, go to password, or offer both. They're matched by the email domain.
Steps
- Open Settings → Security.
- Scroll to Auth Rules.
- Click Add Rule.
- Fill in:
- Domain — e.g.
acme.comorcontractors.acme.com. - Method —
sso,password, orall. - Provider types (only when method is
sso) — pick one or more IdPs to allow.
- Domain — e.g.
- Click Save.
Result
When a user signs in with an email matching the rule:
sso— they're redirected to the chosen IdP. The Console password screen is never shown.password— they go straight to the password screen, even if SSO is configured.all— they see a chooser with both options.
Order matters
Rules are evaluated top-to-bottom, longest-domain-first. A rule for contractors.acme.com wins over a rule for acme.com when both match.

