p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
https://phasetwo.io
Other
417 stars 72 forks source link

Searching organization members with multiple name as query parameter #208

Closed millwheel closed 8 months ago

millwheel commented 8 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 8 months ago

fixes #132