feat(xo-server-auth-saml): improve Azure AD compat (#4294)

See xoa-support#1543
This commit is contained in:
Julien Fontanet
2019-06-20 17:11:39 +02:00
committed by GitHub
parent 45e1d1ecef
commit cdced63c1b
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
"node": ">=6"
},
"dependencies": {
"passport-saml": "^1.0.0"
"passport-saml": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
+4 -1
View File
@@ -24,7 +24,10 @@ export const configurationSchema = {
},
usernameField: {
title: 'Username field',
description: 'Field to use as the XO username',
description: `Field to use as the XO username
You should try \`http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\` if you are using Microsoft Azure Active Directory.
`,
type: 'string',
},
},