From 124d4ce9fe949dcea4fd5ff8e45530835d38cb3c Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Sun, 6 Mar 2022 16:34:56 +0100 Subject: [PATCH] fix(oidc): improve empty credential handling --- embedx/config.schema.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/embedx/config.schema.json b/embedx/config.schema.json index a9b119148b60..4181bcad16ab 100644 --- a/embedx/config.schema.json +++ b/embedx/config.schema.json @@ -486,7 +486,10 @@ "then": { "not": { "properties": { - "client_secret": {} + "client_secret": { + "type": "string", + "minLength": 1 + } }, "required": [ "client_secret" @@ -506,7 +509,10 @@ { "not": { "properties": { - "apple_team_id": {} + "apple_team_id": { + "type": "string", + "minLength": 1 + } }, "required": [ "apple_team_id" @@ -516,7 +522,10 @@ { "not": { "properties": { - "apple_private_key_id": {} + "apple_private_key_id": { + "type": "string", + "minLength": 1 + } }, "required": [ "apple_private_key_id" @@ -526,7 +535,10 @@ { "not": { "properties": { - "apple_private_key": {} + "apple_private_key": { + "type": "string", + "minLength": 1 + } }, "required": [ "apple_private_key"