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

Payload issue in SCIM2 Bulk group update or Back-port fix #22224

Open
DInuwan97 opened this issue Jan 9, 2025 · 0 comments
Open

Payload issue in SCIM2 Bulk group update or Back-port fix #22224

DInuwan97 opened this issue Jan 9, 2025 · 0 comments

Comments

@DInuwan97
Copy link

Document issue type

Type/Improvement (Suggest changes to enhance the clarity, usability, or accuracy of existing content)

Description

Hi Team,
In WSO2 IS 5.11.0 version, Bulk group update documentation[1] includes the following payload to assign user's to certain group as a bulk.

            "Operations":[
               {
                  "op":"replace",
                  "path":"members",
                  "value":[
                     {
                        "display":"smith",
                        "value":"ba1db5ff-8062-415b-bc78-5f79738d00ea"
                     }
                  ]
               }
            ]

This payload is not correct. The correct payoad should be.

"Operations": [
        {
            "op": "add",
            "value": {
                "members": [
                    {
                        "value": "d544331a-ab82-455c-bab3-f9b09899d2fe"
                    }
                ]
            }
        }
    ]

However there are 2 options.

  1. Back port the following fix to both 5.10.0 and 5.11.0.[2] This is already fixed from 6.0.0, 6.1.0 and 7.0.0
  2. Fix the 5.11.0 documentation.

[1] - https://is.docs.wso2.com/en/5.11.0/develop/scim2-batch-operations/#update-groups
[2] - #16933

Thanks

Version

5.11.0

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

No branches or pull requests

1 participant