@@ -174,6 +174,15 @@ There are some configs you need to change in the files below
174174| HMD_LDAP_PROVIDERNAME | ` My institution ` | Optional name to be displayed at login form indicating the LDAP provider |
175175| HMD_SAML_IDPSSOURL | ` https://idp.example.com/sso ` | authentication endpoint of IdP |
176176| HMD_SAML_IDPCERT | ` /path/to/cert.pem ` | certificate file path of IdP in PEM format |
177+ | HMD_SAML_ISSUER | no example | identity of the service provider (optional, default: serverurl)" |
178+ | HMD_SAML_IDENTIFIERFORMAT | no example | name identifier format (optional, default: ` urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress ` ) |
179+ | HMD_SAML_GROUPATTRIBUTE | ` memberOf ` | attribute name for group list (optional) |
180+ | HMD_SAML_REQUIREDGROUPS | ` Hackmd-users ` | group names that allowed (use vertical bar to separate) (optional) |
181+ | HMD_SAML_EXTERNALGROUPS | ` Temporary-staff ` | group names that not allowed (use vertical bar to separate) (optional) |
182+ | HMD_SAML_ATTRIBUTE_ID | ` sAMAccountName ` | attribute map for ` id ` (optional, default: NameID of SAML response) |
183+ | HMD_SAML_ATTRIBUTE_USERNAME | ` mailNickname ` | attribute map for ` username ` (optional, default: NameID of SAML response) |
184+ | HMD_SAML_ATTRIBUTE_DISPLAYNAME | ` displayName ` | attribute map for ` displayname ` (optional, default: NameID of SAML response) |
185+ | HMD_SAML_ATTRIBUTE_EMAIL | ` mail ` | attribute map for ` email ` (optional, default: NameID of SAML response if ` HMD_SAML_IDENTIFIERFORMAT ` is default) |
177186| HMD_IMGUR_CLIENTID | no example | Imgur API client id |
178187| HMD_EMAIL | ` true ` or ` false ` | set to allow email signin |
179188| HMD_ALLOW_PDF_EXPORT | ` true ` or ` false ` | Enable or disable PDF exports |
@@ -251,6 +260,7 @@ There are some configs you need to change in the files below
251260| mattermost | ` /auth/mattermost/callback ` |
252261| dropbox | ` /auth/dropbox/callback ` |
253262| google | ` /auth/google/callback ` |
263+ | saml | ` /auth/saml/callback ` |
254264
255265# Developer Notes
256266
0 commit comments