You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,8 +130,18 @@ Environment variables (will overwrite other server configs)
130
130
| HMD_DROPBOX_CLIENTSECRET | no example | Dropbox API client secret |
131
131
| HMD_GOOGLE_CLIENTID | no example | Google API client id |
132
132
| HMD_GOOGLE_CLIENTSECRET | no example | Google API client secret |
133
+
| HMD_LDAP_URL | ldap://example.com | url of LDAP server |
134
+
| HMD_LDAP_BINDDN | no example | bindDn for LDAP access |
135
+
| HMD_LDAP_BINDCREDENTIALS | no example | bindCredentials for LDAP access |
136
+
| HMD_LDAP_TOKENSECRET | supersecretkey | secret used for generating access/refresh tokens |
137
+
| HMD_LDAP_SEARCHBASE | o=users,dc=example,dc=com | LDAP directory to begin search from |
138
+
| HMD_LDAP_SEARCHFILTER | (uid={{username}}) | LDAP filter to search with |
139
+
| HMD_LDAP_SEARCHATTRIBUTES | no example | LDAP attributes to search with |
140
+
| HMD_LDAP_TLS_CA | no example | Root CA for LDAP TLS in PEM format |
141
+
| HMD_LDAP_PROVIDERNAME | My institution | Optional name to be displayed at login form indicating the LDAP provider |
133
142
| HMD_IMGUR_CLIENTID | no example | Imgur API client id |
134
-
| HMD_EMAIL |`true` or `false`| set to allow email register and signin |
143
+
| HMD_EMAIL |`true` or `false`| set to allow email signin |
144
+
| HMD_ALLOW_EMAIL_REGISTER |`true` or `false`| set to allow email register (only applied when email is set, default is `true`) |
135
145
| HMD_IMAGE_UPLOAD_TYPE |`imgur`, `s3` or `filesystem`| Where to upload image. For S3, see our [S3 Image Upload Guide](docs/guides/s3-image-upload.md)|
136
146
| HMD_S3_ACCESS_KEY_ID | no example | AWS access key id |
137
147
| HMD_S3_SECRET_ACCESS_KEY | no example | AWS secret key |
| email |`true` or `false`| set to allow email register and signin |
188
+
| email |`true` or `false`| set to allow email signin |
189
+
| allowemailregister |`true` or `false`| set to allow email register (only applied when email is set, default is `true`) |
179
190
| imageUploadType | `imgur`(default), `s3` or `filesystem` | Where to upload image
180
191
| s3 |`{ "accessKeyId": "YOUR_S3_ACCESS_KEY_ID", "secretAccessKey": "YOUR_S3_ACCESS_KEY", "region": "YOUR_S3_REGION", "bucket": "YOUR_S3_BUCKET_NAME" }`| When `imageUploadType` be setted to `s3`, you would also need to setup this key, check our [S3 Image Upload Guide](docs/guides/s3-image-upload.md)|
181
192
@@ -184,7 +195,7 @@ Third-party integration api key settings
184
195
185
196
| service | settings location | description |
186
197
| ------- | --------- | ----------- |
187
-
| facebook, twitter, github, gitlab, dropbox, google | environment variables or `config.json`| for signin |
198
+
| facebook, twitter, github, gitlab, dropbox, google, ldap| environment variables or `config.json`| for signin |
188
199
| imgur | environment variables or `config.json`| for image upload |
189
200
| google drive(`google/apiKey`, `google/clientID`), dropbox(`dropbox/appKey`) |`config.json`| for export and import |
0 commit comments