Sharon
03/22/2026, 12:23 PMsign-in-social-or-sso-with-magic-link-mfa flow, but in many occasions tenants that have SSO configure still click "continue with google" which doesn't work and causes confusion.
Is there a suggested way to create a flow that the user enters the mail or something, and then based on the tenant configuration redirects to the right place? to the idp if sso is configured, or the the google social login?DevRev
03/22/2026, 12:23 PMEmail Input → Condition → SSO Action (if configured)
→ Social/Magic Link (if not)
Implementation Steps
1. Create a new flow with an email input component
2. Add a condition block using ssoEnabled and tenant.enforceSSO keys
3. Connect SSO action for tenants with SSO configured
4. Connect social login/magic link for others
Condition Logic
Use these condition keys to determine routing:
• ssoEnabled - checks if SSO is configured for the tenant
• tenant.enforceSSO - checks if SSO is enforced
The flow automatically handles tenant identification based on email domain . If multiple tenants share the same domain, use the ssoDomainsTenantsCount key to show a tenant selection screen .
This approach eliminates the "continue with google" confusion by routing users to their correct authentication method based on their tenant's actual configuration.
SSO Enforcement in Flows | Descope Documentation
SSO Authentication | Descope Documentation
SSO with Flows | Descope DocumentationSharon
03/22/2026, 12:25 PMDevRev
03/22/2026, 12:26 PMsign-in-social-or-sso-with-magic-link-mfa flow shows all authentication options upfront, which creates the confusion you mentioned.
Available Built-in Flows
The closest built-in options are:
• Standard social/SSO flows that show all methods immediately
• Magic link flows with email scanner protection
Solution: Custom Flow Required
You'll need to create a custom flow that:
1. Collects email first
2. Uses conditional logic to route based on tenant SSO configuration
3. Hides social login options when SSO is configured
The domain-based SSO detection is built into Descope , but you need to structure the flow to leverage this properly. The platform automatically detects SSO-enabled domains when users input their email , but the routing logic requires custom flow design.
This approach eliminates the "continue with google" confusion by only showing relevant authentication methods based on the user's actual tenant configuration.
Checking for Email Scanners | Descope Documentation
The Power of Descope Flows: Enforcing SSO for SSO-Enabled DomainsSharon
03/22/2026, 12:43 PMDevRev
03/22/2026, 12:43 PMssoEnabled and tenant.enforceSSO keys
3. Route to different screens based on SSO status:
Email Input → Condition → SSO Screen (if SSO enabled)
→ Social + Magic Link Screen (if no SSO)
Screen Configuration
• SSO Screen: Only shows SSO button and magic link (if allowed)
• Social Screen: Shows Google, other social providers, and magic link
• Use screen conditions to control which authentication methods appear
Dynamic Button Display
You can also use the ssoEnabled condition within a single screen to conditionally show/hide social login buttons. This creates a cleaner experience where users see only relevant options after entering their email.
Alternative: Domain-Based Routing
For the smoothest UX, configure SSO domains properly so tenant detection happens automatically based on email domain, then use conditional screens to show appropriate authentication methods.
This approach gives users the right options without confusion while maintaining a clean, contextual interface.
SSO Enforcement in Flows | Descope Documentation
SSO Authentication | Descope DocumentationTal Kapitolnik
03/22/2026, 12:55 PMSharon
03/22/2026, 1:05 PMTal Kapitolnik
03/22/2026, 1:15 PMSharon
03/22/2026, 1:31 PMTal Kapitolnik
03/22/2026, 1:33 PMSharon
03/22/2026, 1:34 PMTal Kapitolnik
03/22/2026, 1:35 PMSharon
03/22/2026, 1:38 PMTal Kapitolnik
03/22/2026, 1:40 PMSign In / OAuth instead of sign up or inSharon
03/22/2026, 1:48 PMSharon
03/22/2026, 1:52 PMTal Kapitolnik
03/22/2026, 1:58 PMTal Kapitolnik
03/22/2026, 1:58 PMSharon
03/22/2026, 2:13 PMSharon
03/22/2026, 2:14 PMTal Kapitolnik
03/22/2026, 2:16 PMSharon
03/22/2026, 2:29 PMTal Kapitolnik
03/22/2026, 2:30 PMSharon
03/22/2026, 2:31 PMTal Kapitolnik
03/22/2026, 2:51 PMSharon
03/22/2026, 2:58 PM