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

Duplicate user entries when searching custom attributes [GHI#39246]

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

      dist/quarkus

      Describe the bug

      When searching a custom attribute, where the search phrase is in multiple fields, multiple entries for the same user are returned.

      Version

      26.2.0

      Regression

      [ ] The issue is a regression

      Expected behavior

      Get all users back that match the attribute without duplicates back.

      Actual behavior

      Get multiple entries of the same user back.

      How to Reproduce?

      • Create a user profile attribute
      • Add multiple entries for this attribute, for example: "common1" and "common2"
      • Search for the created attribute with a string that is inside multiple fields. In this example, search for "common" and disable exact search

      You will now see the unexpected result.

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: