Added SAML configuration options to docs

This commit is contained in:
Jan Böhmer 2023-02-28 16:34:51 +01:00
parent 472e1ce0a3
commit cb9433902c
4 changed files with 23 additions and 2 deletions

3
.env
View file

@ -80,7 +80,8 @@ ERROR_PAGE_SHOW_HELP=1
SAML_ENABLED=0
# A JSON encoded array of role mappings in the form { "saml_role": PARTDB_GROUP_ID, "*": PARTDB_GROUP_ID }
SAML_ROLE_MAPPING="{}"
# Please not to only use single quotes to enclose the JSON string
SAML_ROLE_MAPPING='{}'
# A mapping could look like the following
#SAML_ROLE_MAPPING='{ "*": 2, "editor": 3, "admin": 1 }'