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

op-mode fails to update user resources #447

Closed
imShakil opened this issue Apr 6, 2021 · 2 comments
Closed

op-mode fails to update user resources #447

imShakil opened this issue Apr 6, 2021 · 2 comments

Comments

@imShakil
Copy link
Contributor

imShakil commented Apr 6, 2021

I tried to update the user resources using scim-cli. It fails when I try to update the value of a sub-path (name/familyName) using operation-mode, Normally working if I update directly non-sub path (title). Please see attached image files.

Here it fails.
Screenshot from 2021-04-06 12-40-37

This one is working.
Screenshot from 2021-04-06 13-40-25

@imShakil imShakil changed the title op-mode failed to update user resources op-mode fails to update user resources Apr 6, 2021
@devrimyatar
Copy link
Contributor

According to @jgomer2001

We must write path delimited by dot rather than slash, so this works:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
     {
      "op": "replace",
      "path": "name.familyName",
      "value": "Baser"
    }
  ]
}

@devrimyatar
Copy link
Contributor

For scim, slash is replaced by dot in path when patching.

@ossdhaval ossdhaval transferred this issue from JanssenProject/jans-cli Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants