fix: scim 2.0 patch ignore op casing (#9282)

# Which Problems Are Solved
- Some SCIM clients send "op" of a patch operation in PascalCase

# How the Problems Are Solved
- Well known "op" values of patch operations are matched
case-insensitive.

# Additional Context
Related to #8140
This commit is contained in:
Lars
2025-01-31 10:15:39 +01:00
committed by GitHub
parent 563f74640e
commit 20cff9c70a
2 changed files with 6 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
"Operations": [
// add without path
{
"op": "add",
"op": "Add", // with PascalCase operation type
"value": {
"emails":[
{
@@ -17,7 +17,7 @@
},
// add complex attribute with path
{
"op": "add",
"op": "add", // with camelCase operation type
"path": "name",
"value": {
"formatted": "added-formatted",
@@ -30,7 +30,7 @@
},
// add complex attribute value
{
"op": "add",
"op": "ADD", // with UPPERCASE operation type
"path": "name.middlename",
"value": "added-middle-name-2"
},