Thanks to visit codestin.com
Credit goes to github.com

Skip to content

All pubic brokers are shown during authentication rather than only those associated with the current organization #31246

@pedroigor

Description

@pedroigor

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 rendering the login pages all public brokers are shown regardless of whether they match the organization resolved during the identity-first login based on the username or email.

Version

25.0.0

Regression

  • The issue is a regression

Expected behavior

When an organization maps to the username or email during the authentication, only the public brokers associated with that organization should be available.

Actual behavior

When an organization maps to the username or email during the authentication, all the public brokers are available.

How to Reproduce?

  • Create org-0, link a broker to this organization, and mark the broker as public
  • Create org-1, link a broker to this organization, and mark the broker as public
  • Try to authenticate by providing an email that matches one organization
  • All brokers are shown despite the email matching only one of the organizaitons

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions