SAML Sole Connection Error During Device Authorization Flow (No connections configured)
This article clarifies whether a Security Assertion Markup Language (SAML) enterprise connection is compatible with the device authorization flow in a native application. It addresses an issue where an error occurs when an enterprise connection is the only configured connection for a tenant.
no connections configured/enabled
- Auth0
- Device Authorization Flow
- Enterprise Connections
- Security Assertion Markup Language (SAML)
The issue occurs because the login configuration is set to "Identifier + Password". This profile is typically paired with a database connection to handle passwords. When a SAML connection is the only option, a valid login form cannot be rendered because the system cannot find a compatible connection for the "Identifier + Password" flow.
To resolve the error and enable the login flow with an enterprise-only setup, perform one of the following procedures.
Option 1: Switch to Identifier First
- Navigate to the Auth0 dashboard.
- Select Authentication.
- Select Universal Login.
- Go to the Settings tab.
- Locate the Experience section.
- Change the login flow to Identifier First.
- Select Save. NOTE: This allows the user to enter an email address so the system can redirect them to the SAML Identity Provider (IdP) through Home Realm Discovery.
Option 2: Enable Connection as a Button
- Navigate to the Auth0 dashboard.
- Select Authentication.
- Select Enterprise.
- Select SAML.
- Select the specific SAML connection.
- Go to the Login Experience tab.
- Enable the Display connection as a button option.
- Select Save.
NOTE: This allows the user to bypass the input field by clicking the SAML provider button directly.