Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4391

[janus-idp/backstage-plugins] Keycloak backend should retrieve the complete list of group members

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.3.1
    • None
    • Keycloak provider
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • RHDH Plugins 3264, RHDH Plugins 3265

      Description of problem:

      Keycloak backend retrieves only one pagination page of group members. This page contains 100 users by default. Therefore, if a group contains more than 100 users, some users may be missed.

      Workaround:

      Set a higher user query limit, for example, 1000:

        providers:
          keycloakOrg:
            default:
              baseUrl: https://keycloak.some.domain.com
              loginRealm: backstage
              realm:${realm}
              clientId:${realm}
              clientSecret: ${some-secret}
              userQuerySize: 1000
              schedule: # Optional (defaults to the configurations below if not provided); same options as in TaskScheduleDefinition
                # supports cron, ISO duration, "human duration" as used in code
                frequency: { minutes: 30 } # Customize this to fit your needs
                # supports ISO duration, "human duration" as used in code
                timeout: { minutes: 30 } # Customize this to fit your needs
      
      

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              oandriie Aleksander Andriienko
              oandriie Aleksander Andriienko
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: