+
Skip to content

Organizations Authenticator : public IDP not displayed when user not existing and matching domain #40649

@olivierboudet

Description

@olivierboudet

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

organizations

Describe the bug

When using organizations having an idp linked to it, if a user tries to login with a wrong email, error Your email domain matches the ****** organization but you dont have an account yet. is displayed.
On the resulting page, IdP linked to the organization is displayed, but public IdP (ie. not linked to any organizations are not displayed).

Version

26.2.4

Regression

  • The issue is a regression

Expected behavior

I expect all available IdP should be displayed, not only IdP linked to the current organization.

Actual behavior

Only IdP linked to the current organization are displayed

How to Reproduce?

  • Create an organization
  • Create two IdPs
  • Link one IdP to the organization
  • Create an user with email matching to the organization
  • On the login page, enter email of the existing user, two IdP should are displayed
  • On the login page, enter email of an inexisting user but with the domain matching the organization's one, only one IdP is displayed

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载