Skip to content

Search all schema nodes for value #118

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kalenjohnson
Copy link

This covers the enterprise options when a value needs to be added or replaced. The current implementation will only search urn:ietf:params:scim:schemas:core:2.0:User when the value may be in urn:ietf:params:scim:schemas:extension:enterprise:2.0:User

This covers the enterprise options when a value needs to be added or replaced
@kalenjohnson
Copy link
Author

kalenjohnson commented Jun 26, 2025

I am new to SCIM provisioning in general, however this will correct patch requests to enterprise user schema values

image

Request:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber",
      "value": "65489745"
    }
  ]
}

Response:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "detail": "Unknown path: urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber, in object: urn:ietf:params:scim:schemas:core:2.0:User",
  "status": 404
}

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

Successfully merging this pull request may close these issues.

1 participant