Add example on how to use ENV with array of attributes

pull/10712/head
Oliver Günther 2 years ago committed by GitHub
parent c550e49e57
commit 1f3e3e48b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/system-admin-guide/authentication/saml/README.md

@ -110,7 +110,7 @@ E.g.
OPENPROJECT_SAML_SAML_NAME="saml"
# The name that will be display in the login button
OPENPROJECT_SAML_SAML_DISPLAY__NAME=">Name of the login button>"
OPENPROJECT_SAML_SAML_DISPLAY__NAME="<Name of the login button>"
# The callback within OpenProject that your idP should redirect to
OPENPROJECT_SAML_SAML_ASSERTION__CONSUMER__SERVICE__URL="https://<openproject.host>/auth/saml/callback"
@ -139,6 +139,8 @@ OPENPROJECT_SAML_SAML_ATTRIBUTE__STATEMENTS_EMAIL="mail"
OPENPROJECT_SAML_SAML_ATTRIBUTE__STATEMENTS_LOGIN="mail"
OPENPROJECT_SAML_SAML_ATTRIBUTE__STATEMENTS_FIRST__NAME="givenName"
OPENPROJECT_SAML_SAML_ATTRIBUTE__STATEMENTS_LAST__NAME="sn"
# You can also specify an array of attributes, the first found value will be used. Example:
# OPENPROJECT_SAML_SAML_ATTRIBUTE__STATEMENTS_LOGIN="['mail', 'samAccountName', 'uid']"
```
Please note that every underscore (`_`) in the original configuration key has to be replaced by a duplicate underscore

Loading…
Cancel
Save