Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-2537 (pull request #643)
Browse files Browse the repository at this point in the history
Fixed max length validation for dynamic registrations

Approved-by: Doug Sonaty
  • Loading branch information
rmathis committed Feb 16, 2023
2 parents 69d3ebc + 521d074 commit 33345c1
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions backend/src/main/resources/dynamic-registration.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
"applicationType": {
"title": "label.dynamic-registration-applicationType",
"description": "tooltip.dynamic-registration-applicationType",
"type": "string"
"type": "string",
"maxLength": 255
},
"contacts": {
"title": "label.dynamic-registration-contacts",
"description": "tooltip.dynamic-registration-contacts",
"type": "string"
"type": "string",
"maxLength": 255
},
"grantType": {
"title": "label.dynamic-registration-grantTypes",
Expand All @@ -64,37 +66,44 @@
"logoUri": {
"title": "label.dynamic-registration-logo-uri",
"description": "tooltip.dynamic-registration-logo-uri",
"type": "string"
"type": "string",
"maxLength": 255
},
"policyUri": {
"title": "label.dynamic-registration-policy-uri",
"description": "tooltip.dynamic-registration-policy-uri",
"type": "string"
"type": "string",
"maxLength": 255
},
"responseTypes": {
"title": "label.dynamic-registration-responseTypes",
"description": "tooltip.dynamic-registration-responseTypes",
"type": "string"
"type": "string",
"maxLength": 255
},
"scope": {
"title": "label.dynamic-registration-scope",
"description": "tooltip.dynamic-registration-scope",
"type": "string"
"type": "string",
"maxLength": 255
},
"subjectType": {
"title": "label.dynamic-registration-subjectType",
"description": "tooltip.dynamic-registration-subjectType",
"type": "string"
"type": "string",
"maxLength": 255
},
"tokenEndpointAuthMethod": {
"title": "label.dynamic-registration-tokenEndpointAuthMethod",
"description": "tooltip.dynamic-registration-tokenEndpointAuthMethod",
"type": "string"
"type": "string",
"maxLength": 255
},
"tosUri": {
"title": "label.dynamic-registration-tosuri",
"description": "tooltip.dynamic-registration-tosuri",
"type": "string"
"type": "string",
"maxLength": 255
}
}
}

0 comments on commit 33345c1

Please sign in to comment.