The `LoginId.federatedLogin` Method of ACUL SDK Returns "invalid-connection" Error
Last Updated:
Overview
When Advanced Customization for Universal Login (ACUL) is enabled, the LoginId.federatedLogin method of the Advanced Customization for Universal Login (ACUL) Software Development Kit (SDK) returns an error when called.
{
"code": "invalid-connection",
"message": "Invalid connection"
}
The network trace in the browser shows the POST /u/login/identifier?state=<state> request returns a 400 status.
Applies To
-
Universal Login Page
-
Advanced Customization for Universal Login (ACUL)
-
Social Connections
-
Enterprise Connections
Cause
The connection is either not enabled or not available
Solution
-
Verify the connection is enabled for the client/application that started the login flow. See Update Application Connections for details.
-
If an organization is enabled, verify the connection is enabled for the organization in the context of the login flow. Refer to Enable Connections for Organizations.
-
If the connection is enabled for both the client and organization, check the connection settings. Ensure the Display connection as a button option is toggled ON, as shown in the screenshot below.