p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
361 stars 65 forks source link

Searching organization members with multiple name as query parameter #208

Closed millwheel closed 3 months ago

millwheel commented 3 months ago

I changed some codes of searchForMembersStream() so that it can search the members of organization with multiple user's name as query parameter. This is related to this issue 132

With this function, it is possible to search users of organization with multiple names in one api like below. GET /realms/{realm}/orgs/{orgId}/members?search=jack,jill GET /realms/{realm}/orgs/{orgId}/members?search=, jack, john, mary

I used the comma as delimiter as shown in the issue.

xgp commented 3 months ago

fixes #132