SAML Login Not Working Properly when `connection` is Included in the /authorize Request
Last Updated:
Overview
One of our clients is doing IdP-initiated login through Auth0. The flow is as follows:
1. User logs into the IdP
2. IdP sends a request to Auth0
3. Auth0 authenticates them and redirects back to our client using OIDC (including code)
4. Client sees the user as unauthenticated and send an /authorize request including the code from step 3.
5. Auth0 responds to the callback with a valid token
This works fine when the /authorize request ONLY includes an organization, however when we code the client to include organization AND connection, Auth0 redirects the user to the `Sign In Url`.
Why does this work properly when only Organization is included but not Organization and Connection?
Applies To
- SAML Connection
- Parameter
- Redirect
Cause
Solution
The presence or absence of the 'organization' parameter should not change this behavior.