Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-4593 Support having large number of realms
  3. KEYCLOAK-6096

Enhance Keycloak Web Admin Console Design to Support Scalability

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Obsolete
    • Major
    • Backlog
    • 3.4.1.Final, 3.4.2.Final
    • Admin - Console
    • None
    • NEW
    • NEW

    Description

      As current Admin Console design, there will be one client to be created for each other realm other than master during the admin console loading time.

      When there is lot's of realms created since last admin console loaded, then there will be lot's of clients to be created in master realm by the API of /auth/admin/master/console/whoami, which will take considerable time to load the UI.

      Even after the whoami API is loaded, there will be a _/auth/admin/realms
      _ request almost after every user interaction in the UI.

      Let's say that when there will be 1K realms in database, these batch data fetch would be not acceptable for the Admin UI data change.

      Proposed Design for Web Admin Console
      1. Web Admin Console access should just based on the admin user access token, not the

      2. API _/auth/admin/realms
      _ should be designed by Pagination base, and this API may also be only trigered once user reach to the page: `auth/admin/master/console/#/realms`, and this web page would also need to support pagination.

      3. API /auth/admin/master/console/whoami should be desgined for per request per realm

      4. We may not need to create clients like 'xxx-realm' in master realm

      Attachments

        Activity

          Public project attachment banner

            context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
            current Project key: KEYCLOAK

            People

              Unassigned Unassigned
              mingjliu9 Mingjun Liu (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: