added oidc conf to schema

mstrhakr committed Apr 6, 2022 at 12:38 UTC 08ea9a5c8160493647727dd026b9158fce63e5e1
1 file changed +15
meshcentral-config-schema.json
+15
@@ -1069,6 +1069,21 @@
1069 "logouturl": {"type": "string", "format": "uri", "description": "Then set, the user will be redirected to this URL when hitting the logout link."}
1070 },
1071 "required": [ "entityid", "idpurl", "cert" ]
1072 + },
1073 + "oidc": {
1074 + "type": "object",
1075 + "properties": {
1076 + "url": { "type": "string", "format": "uri" },
1077 + "authorizationURL": { "type": "string", "format": "uri" },
1078 + "tokenURL": { "type": "string", "format": "uri" },
1079 + "userInfoURL": { "type": "string", "format": "uri" },
1080 + "logouturl": { "type": "string", "format": "uri", "description": "Then set, the user will be redirected to this URL when hitting the logout link."},
1081 + "newAccounts": { "type": "boolean", "default": true },
1082 + "clientid": { "type": "string" },
1083 + "clientsecret": { "type": "string" },
1084 + "callbackURL": { "type": "string", "format": "uri" }
1085 + },
1086 + "required": [ "url", "authorizationURL", "tokenURL", "userInfoURL", "logouturl", "clientid", "clientsecret", "callbackURL" ]
1087 }
1088 }
1089 }