From afad4b3672e6cb55658d29817eb7cc2d426bf5ea Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 20 Oct 2022 11:14:19 -0700 Subject: [PATCH] SHIBUI-2380 Adding defaults for the protocol (which could happen with historical data) --- .../src/main/resources/metadata-sources-ui-schema-oidc.json | 3 ++- .../src/main/resources/metadata-sources-ui-schema-saml.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/src/main/resources/metadata-sources-ui-schema-oidc.json b/backend/src/main/resources/metadata-sources-ui-schema-oidc.json index d463762e2..814153b01 100644 --- a/backend/src/main/resources/metadata-sources-ui-schema-oidc.json +++ b/backend/src/main/resources/metadata-sources-ui-schema-oidc.json @@ -8,7 +8,8 @@ "protocol": { "title": "label.source-protocol", "description": "tooltip.source-protocol", - "type": "string" + "type": "string", + "default": "oidc" }, "serviceProviderName": { "title": "label.service-provider-name", diff --git a/backend/src/main/resources/metadata-sources-ui-schema-saml.json b/backend/src/main/resources/metadata-sources-ui-schema-saml.json index 73bb04aec..4406d43ad 100644 --- a/backend/src/main/resources/metadata-sources-ui-schema-saml.json +++ b/backend/src/main/resources/metadata-sources-ui-schema-saml.json @@ -8,7 +8,8 @@ "protocol": { "title": "label.source-protocol", "description": "tooltip.source-protocol", - "type": "string" + "type": "string", + "default": "saml" }, "serviceProviderName": { "title": "label.service-provider-name",