typescript icon indicating copy to clipboard operation
typescript copied to clipboard

[Bug]: External IDP button not rendered for SAML on new login UI

Open fcoppede opened this issue 9 months ago • 1 comments

Preflight Checklist

  • [x] I could not find a solution in the documentation, the existing issues or discussions
  • [x] I have joined the ZITADEL chat

Environment

ZITADEL Cloud

Version

v2.70.8

Database

None

Database Version

No response

Describe the problem caused by this bug

When the user lands on the login screen, the button to get redirected to an external SAML identity provider is not rendered.

This only happens when the new login UI is selected for that particular application, when the new login UI checkbox is disabled, the button is shown as expected.

To reproduce

  1. Create a new application inside your project, and turn on the toggle called "Use new Login UI"
  2. Create a new external IDP SAML integration inside identity providers and enable it
  3. Navigate to the login screen by sending a request to /authorize
  4. In this case, the button to use that external SAML IDP is not rendered
  5. If you turn off the toggle from step 1, and repeat the steps, the login button will be rendered.

Screenshots

Image Image

Expected behavior

The button to continue to the external SAML IDP should be rendered regardless of the logni UI checkbox selection.

Operating System

N/A

Relevant Configuration

Instance configuration is default

Additional Context

No response

fcoppede avatar Apr 11 '25 17:04 fcoppede

Hi @fcoppede, Can you recheck the IDP settings please? The login shows the primary organizations IDPs and not the instance default if no other context is provided via OIDC scope or query param. To me it appears to be rendering just fine. IDPs must selected activated as well to appear in the list.

Image

peintnermax avatar Apr 25 '25 07:04 peintnermax