Skip to content

Commit 3a73524

Browse files
committed
fix: resolve RFC 7643 inconsistency in ServiceProviderConfig authenticationSchemes schema
RFC 7643 contains a documented inconsistency between the ServiceProviderConfig schema definition (section 8.7.2) and the example data (section 8.5): - Schema definition only specifies 4 sub-attributes for authenticationSchemes: name, description, specUri, documentationUri - Example data contains additional attributes: type, primary This inconsistency is acknowledged in RFC Errata ID 7921, where the schema definition is incomplete compared to the actual usage patterns shown in examples and implementations.
1 parent 895dc3d commit 3a73524

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

samples/rfc7643-8.7.2-schema-service_provider_configuration.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,24 @@
177177
"returned": "default",
178178
"mutability": "readOnly",
179179
"subAttributes": [
180+
{
181+
"name": "type",
182+
"type": "string",
183+
"multiValued": false,
184+
"description": "The authentication scheme.",
185+
"required": true,
186+
"canonicalValues": [
187+
"oauth",
188+
"oauth2",
189+
"oauthbearertoken",
190+
"httpbasic",
191+
"httpdigest"
192+
],
193+
"caseExact": false,
194+
"mutability": "readOnly",
195+
"returned": "default",
196+
"uniqueness": "none"
197+
},
180198
{
181199
"name": "name",
182200
"type": "string",
@@ -226,6 +244,17 @@
226244
"mutability": "readOnly",
227245
"returned": "default",
228246
"uniqueness": "none"
247+
},
248+
{
249+
"name": "primary",
250+
"type": "boolean",
251+
"multiValued": false,
252+
"description": "A Boolean value indicating the 'primary' or preferred attribute value for this attribute.",
253+
"required": false,
254+
"caseExact": false,
255+
"mutability": "readOnly",
256+
"returned": "default",
257+
"uniqueness": "none"
229258
}
230259
]
231260
}

0 commit comments

Comments
 (0)