reordered and added descriptions
mstrhakr committed
Apr 8, 2022 at 12:09 UTC
4315950d73658f01f9db25e3897f881df3f6b739
1 file changed
+8
-8
meshcentral-config-schema.json
+8
-8
@@ -1073,17 +1073,17 @@
1073
"oidc": {
1074
"type": "object",
1075
"properties": {
1076
- "issuer": { "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 },
1076
+ "authorizationURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the authorization URL. (If set tokenURL and userInfoURL need set also)" },
1077
+ "callbackURL": { "type": "string", "format": "uri", "description": "Required, this is the URL that your SSO provider sends auth approval to." },
1078
"clientid": { "type": "string" },
1079
"clientsecret": { "type": "string" },
1084
- "callbackURL": { "type": "string", "format": "uri" }
1080
+ "issuer": { "type": "string", "format": "uri", "description": "Full URL of SSO portal" },
1081
+ "tokenURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the token URL. (If set authorizationURL and userInfoURL need set also)" },
1082
+ "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)" },
1083
+ "logouturl": { "type": "string", "format": "uri", "description": "Then set, the user will be redirected to this URL when hitting the logout link." },
1084
+ "newAccounts": { "type": "boolean", "default": true }
1085
},
1086
- "required": [ "url", "authorizationURL", "tokenURL", "userInfoURL", "logouturl", "clientid", "clientsecret", "callbackURL" ]
1086
+ "required": [ "issuer", "clientid", "clientsecret", "callbackURL" ]
1087
}
1088
}
1089
}