+
Skip to content

Users page with LDAP User Storage Provider Cannot read properties of undefined  #23841

@slominskir

Description

@slominskir

Before reporting an issue

Area

admin/ui

Describe the bug

If you configure an LDAP User Storage Provider (User Federation) and then navigate to the Admin UI Users tab you'll get a JavaScript error: Cannot read properties of undefined .

Version

22.0.4

Expected behavior

The Users page should load without error.

Actual behavior

The page has an error as seen in the attached screenshot.

Screenshot

How to Reproduce?

A reproducer GitHub Docker Compose project can be used to recreate:

git clone https://github.com/slominskir/keycloak_ldap
cd keycloak_ldap
docker compose up
  1. Wait for the LDAP and Keycloak containers to fully start up.
  2. Navigate your web browser to the admin UI at http://localhost:8080
  3. Login with username admin and password admin
  4. Select the "test-realm" realm
  5. Click the Users tab to view the Users page.
  6. Observe the JavaScript error

Anything else?

See: #22769 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载