reordered and added descriptions

This commit is contained in:
mstrhakr 2022-04-08 12:09:07 -04:00
parent 8e0e72ec18
commit 4315950d73

View File

@ -1073,17 +1073,17 @@
"oidc": { "oidc": {
"type": "object", "type": "object",
"properties": { "properties": {
"issuer": { "type": "string", "format": "uri" }, "authorizationURL": { "type": "string", "format": "uri", "description": "If set, this will be used as the authorization URL. (If set tokenURL and userInfoURL need set also)" },
"authorizationURL": { "type": "string", "format": "uri" }, "callbackURL": { "type": "string", "format": "uri", "description": "Required, this is the URL that your SSO provider sends auth approval to." },
"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" }, "clientid": { "type": "string" },
"clientsecret": { "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" ]
} }
} }
} }