1

Is there any SCIM endpoints to add users with the groups? I already gone through the article, But i couldn't able to add user with group. Also i need to edit that user and update the group, Is there any SCIM endpoints for these two tasks ?

I tried with the following cURL command

curl -v -k --user admin:admin --data "{"schemas":[],"name":{"familyName":"gunasinghe","givenName":"hasinitg"},"userName":"hasinitg","password":"hasinitg","groups":[{"value":"a0612e1e-d8c7-47dd-b9ee-4218291945c8","display":"groupname"}]}" --header "Content-Type:application/json" https://example.com:9443/wso2/scim/Users
4

2 回答 2

2

在当前实现中,不支持将用户添加到现有组,并且为 Identity Server 路线图捕获了此要求。

目前您可以使用新添加的用户更新组,但操作是 PUT 操作。因此,它将用新数据替换现有组。因此,您需要在每个 PUT 请求中为所有用户提供新用户。

于 2014-02-25T13:39:21.830 回答
2

补丁操作适合您的要求,您无需发送整个用户列表即可将单个用户分配给组。即将发布的 WSO2 IS 版本将很快支持补丁操作,因此请保持联系。

于 2014-07-08T06:00:12.937 回答