-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[X] I have searched existing issues
[ ] I have reproduced the issue with the latest nightly release
Area
user-profile
Describe the bug
Quering for users using their attribute LDAP_ID with the endpoint {{GET /
{realm}/users}} results in an empty array response instead of the users data.h3. Version
20.0.2
h3. Expected behavior
The user data of the user with the matching LDAP_ID is returned.
h3. Actual behavior
An empty array is returned.
h3. How to Reproduce?
Configure ActiveDirectory as user federation (LDAP) with Import users turned off.
Query for a specific user using their LDAP_ID as part of the q parameter when calling the {{GET /{realm}
/users}} endpoint.
Example:
https://keycloak-url/auth/admin/realms/portal/users?q=LDAP_ID:b42670b4-38e9-4e11-8a3f-fb7288937fbb
Response:
[]
Anything else?
No response
- links to