From 4315950d73658f01f9db25e3897f881df3f6b739 Mon Sep 17 00:00:00 2001 From: mstrhakr <37352843+mstrhakr@users.noreply.github.com> Date: Fri, 8 Apr 2022 12:09:07 -0400 Subject: [PATCH] reordered and added descriptions --- meshcentral-config-schema.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 104f89c0..429d4d91 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -1073,17 +1073,17 @@ "oidc": { "type": "object", "properties": { - "issuer": { "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 }, + "authorizationURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the authorization URL. (If set tokenURL and userInfoURL need set also)" }, + "callbackURL": { "type": "string", "format": "uri", "description": "Required, this is the URL that your SSO provider sends auth approval to." }, "clientid": { "type": "string" }, "clientsecret": { "type": "string" }, - "callbackURL": { "type": "string", "format": "uri" } + "issuer": { "type": "string", "format": "uri", "description": "Full URL of SSO portal" }, + "tokenURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the token URL. (If set authorizationURL and userInfoURL need set also)" }, + "userInfoURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the user info URL. (If set authorizationURL and tokenURL need set also)" }, + "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 } }, - "required": [ "url", "authorizationURL", "tokenURL", "userInfoURL", "logouturl", "clientid", "clientsecret", "callbackURL" ] + "required": [ "issuer", "clientid", "clientsecret", "callbackURL" ] } } }