chore(xo-server-auth-saml): config description

This commit is contained in:
Julien Fontanet
2018-03-26 11:10:16 +02:00
parent adf278fc83
commit 87664ff16a

View File

@@ -3,22 +3,32 @@ import { Strategy } from 'passport-saml'
// ===================================================================
export const configurationSchema = {
description:
'Important: When registering your instance to your identity provider, you must configure its callback URL to `https://<xo.company.net>/signin/saml/callback`!',
type: 'object',
properties: {
cert: {
title: 'Certificate',
description: "Copy/paste the identity provider's certificate",
type: 'string',
},
entryPoint: {
title: 'Entry point',
description: 'Entry point of the identity provider',
type: 'string',
},
issuer: {
title: 'Issuer',
description: 'Issuer string to supply to the identity provider',
type: 'string',
},
usernameField: {
title: 'Username field',
description: 'Field to use as the XO username',
type: 'string',
},
},
required: ['cert', 'entryPoint', 'issuer'],
required: ['cert', 'entryPoint', 'issuer', 'usernameField'],
}
// ===================================================================