mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
added guide for SAML settings
This commit is contained in:
parent
410268da74
commit
2db2ff484f
12 changed files with 136 additions and 6 deletions
|
@ -39,7 +39,6 @@ passport.use(new SamlStrategy({
|
|||
provider: 'saml',
|
||||
id: 'SAML-' + uuid,
|
||||
username: user[config.saml.attribute.username] || user.nameID,
|
||||
displayName: user[config.saml.attribute.displayName] || user.nameID,
|
||||
emails: user[config.saml.attribute.email] ? [user[config.saml.attribute.email]] : []
|
||||
}
|
||||
if (profile.emails.length === 0 && config.saml.identifierFormat === 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue