Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-3723

Organization without email domain shows an error when trying to link an Identity Provider [GHI#42408]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] 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 I create an organization without an email domain, the "Link identity provider" shows an error "Cannot read properties of undefined (reading 'map')"

      Version

      main

      Regression

      [x] The issue is a regression

      Expected behavior

      The dialog should show, possibly with Domain "None" or "Any"?!

      Actual behavior

      "Link identity provider" shows an error "Cannot read properties of undefined (reading 'map')"

      How to Reproduce?

      • Create an organization without an email domain
        _ Go to tab _Identity providers*
        _ Click on _Link identity provider*

      Anything else?

      This is probably a regression due to #31285. Possibly it doesn't handle the empty list well.

      cc: @SferaDev / @pedroigor

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core IAM
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: