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

getAll() organization members only returns the first 10 members [GHI#34975]

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

      Using keycloakClient.realm(realm).organizations().get(id).members().getAll(); only returns the first 10 members of the organization.

      Version

      26.0.0

      Regression

      [ ] The issue is a regression

      Expected behavior

      The complete list of organization members is returned

      Actual behavior

      Only the first 10 members are returned

      How to Reproduce?

      ```java
      private final KeyCloakAdminClient keycloak;

      ...

      Keycloak keycloakClient = keycloak.getClient();
      List<MemberRepresentation> members = keycloakClient.realm(realm).organizations().get(id).members().getAll();
      ```

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: