Add support for filtering users based on organizationId - #37975
Conversation
closes keycloak#37974 Signed-off-by: Marius Svechla <m.svechla@gmail.com>
closes keycloak#37974 Signed-off-by: Marius Svechla <m.svechla@gmail.com>
6659165 to
e4fc00a
Compare
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.AppInitiatedActionWebAuthnTest#cancelSetupWebAuthnKeycloak CI - WebAuthn IT (chrome) org.keycloak.testsuite.webauthn.AppInitiatedActionWebAuthnTest#proceedSetupWebAuthnLogoutOtherSessionsNotCheckedKeycloak CI - WebAuthn IT (chrome) |
|
Thanks for the contribution and for raising this, @msvechla! I understand the need — the organizations members endpoint currently doesn't offer the same rich filtering That said, I don't think adding organization-aware filters to the users endpoints is the direction we want to go. The right path forward is enhancing the organization endpoints (e.g., GET |
This adds support for filtering users based on an organizationId.
Please let me know what you think. There might be better approaches to handles this, so I am open for some pointers on how to best solve this.
Closes #37974
Thanks a lot!