From 08ea9a5c8160493647727dd026b9158fce63e5e1 Mon Sep 17 00:00:00 2001 From: mstrhakr <37352843+mstrhakr@users.noreply.github.com> Date: Wed, 6 Apr 2022 12:38:40 -0400 Subject: [PATCH] added oidc conf to schema --- meshcentral-config-schema.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 3c9603a4..dc94e40b 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -1069,6 +1069,21 @@ "logouturl": {"type": "string", "format": "uri", "description": "Then set, the user will be redirected to this URL when hitting the logout link."} }, "required": [ "entityid", "idpurl", "cert" ] + }, + "oidc": { + "type": "object", + "properties": { + "url": { "type": "string", "format": "uri" }, + "authorizationURL": { "type": "string", "format": "uri" }, + "tokenURL": { "type": "string", "format": "uri" }, + "userInfoURL": { "type": "string", "format": "uri" }, + "logouturl": { "type": "string", "format": "uri", "description": "Then set, the user will be redirected to this URL when hitting the logout link."}, + "newAccounts": { "type": "boolean", "default": true }, + "clientid": { "type": "string" }, + "clientsecret": { "type": "string" }, + "callbackURL": { "type": "string", "format": "uri" } + }, + "required": [ "url", "authorizationURL", "tokenURL", "userInfoURL", "logouturl", "clientid", "clientsecret", "callbackURL" ] } } }