From 521d0742119bde117443c75ef98e1274bc34636f Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Thu, 9 Feb 2023 15:13:03 -0700 Subject: [PATCH] Fixed max length validation for dynamic registrations --- .../dynamic-registration.schema.json | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/backend/src/main/resources/dynamic-registration.schema.json b/backend/src/main/resources/dynamic-registration.schema.json index 3d109a4a0..311d65eb2 100644 --- a/backend/src/main/resources/dynamic-registration.schema.json +++ b/backend/src/main/resources/dynamic-registration.schema.json @@ -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", @@ -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 } } } \ No newline at end of file