question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SCIM] PATCH `Add` operation on already exists resource

See original GitHub issue

If an already exists member is re-added an 409 error response with duplicate reference error is returned. According to the Add Operation RFC:

image

Input example:

{
  schemas: ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
  Operations: [{
    op: "add",
    path:"members",
    value: [{
      value: ...,
      display: ...
    }]
  }]
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
simpleidservercommented, Mar 28, 2022

Some changes have been made in the branch “release/2.0.6”:

  • Returns “204” instead of 409
  • Add “Any” checks
0reactions
simpleidservercommented, Mar 26, 2022

Hello,

First thank you for your feedback. Indeed, the condition must be updated otherwise unexpected conditions can occurred. We are going to update the branch “release/2.0.6” to fix this issue.

Kind Regards,

SimpleIdServer

Read more comments on GitHub >

github_iconTop Results From Across the Web

SCIM Group Patch add member returns 500 for existing ...
However, when we add a member to a group, who already exists on the particular group, it turns out 500 internal server error....
Read more >
Can PUT create a resource which does not exist?
I am trying to implement a SCIM REST API and got a small confusion with respect to PUT operation. As per SCIM RFC...
Read more >
Known issues and resolutions with SCIM 2.0 protocol ...
This article describes current and past issues with the Azure AD user provisioning service's adherence to the SCIM 2.0 protocol, and how to...
Read more >
SCIM 2.0 Protocol Reference
The User creation operation brings the user's application profile from Okta ... Okta checks that the User object exists on the SCIM server...
Read more >
SCIM 2.0 PATCH Operations - PingDirectoryProxy
When using a PATCH request to modify a SCIM 2.0 resource that has one or more required SCIM 2.0 attributes, the requester must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found