Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCIM2 Groups list endpoint fails to list groups when count query parameter is passed. #20981

Closed
sadilchamishka opened this issue Aug 26, 2024 · 0 comments
Assignees

Comments

@sadilchamishka
Copy link
Contributor

Describe the issue:
There is a bug in this code line [1], where it should be fixed as here [2] which is a similar method.

Screenshot 2024-08-26 at 11 09 53

[1] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/master/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L2965
[2] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/master/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L2947

How to reproduce:

curl --location 'https://localhost:9443/scim2/Groups?count=1' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='

Expected behavior:

The pagination support is not provided for SCIM2/Groups endpoint. But it should be possible to pass the count parameter to limit the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant