diff options
author | Max Wu | 2017-01-09 00:49:40 +0800 |
---|---|---|
committer | GitHub | 2017-01-09 00:49:40 +0800 |
commit | b13635aac9d42996d0ac9b9b7dcbdf94102c7abe (patch) | |
tree | 966bdbdd4a359311eae02a86144df8a4307aafb2 /README.md | |
parent | 23a12dd927b66880fa991b377d450455851b69a9 (diff) | |
parent | 94abfaba7c5b7655eda3d6547144adfa26c90a5f (diff) |
Merge pull request #279 from alecdwm/ldap-auth
Support for LDAP server authentication
Diffstat (limited to '')
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -140,6 +140,14 @@ Environment variables (will overwrite other server configs) | HMD_DROPBOX_CLIENTSECRET | no example | Dropbox API client secret | | HMD_GOOGLE_CLIENTID | no example | Google API client id | | HMD_GOOGLE_CLIENTSECRET | no example | Google API client secret | +| HMD_LDAP_URL | ldap://example.com | url of LDAP server | +| HMD_LDAP_BINDDN | no example | bindDn for LDAP access | +| HMD_LDAP_BINDCREDENTIALS | no example | bindCredentials for LDAP access | +| HMD_LDAP_TOKENSECRET | supersecretkey | secret used for generating access/refresh tokens | +| HMD_LDAP_SEARCHBASE | o=users,dc=example,dc=com | LDAP directory to begin search from | +| HMD_LDAP_SEARCHFILTER | (uid={{username}}) | LDAP filter to search with | +| HMD_LDAP_SEARCHATTRIBUTES | no example | LDAP attributes to search with | +| HMD_LDAP_TLS_CA | no example | Root CA for LDAP TLS in PEM format | | HMD_IMGUR_CLIENTID | no example | Imgur API client id | | HMD_EMAIL | `true` or `false` | set to allow email register and signin | | 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) | @@ -194,7 +202,7 @@ Third-party integration api key settings | service | settings location | description | | ------- | --------- | ----------- | -| facebook, twitter, github, gitlab, dropbox, google | environment variables or `config.json` | for signin | +| facebook, twitter, github, gitlab, dropbox, google, ldap | environment variables or `config.json` | for signin | | imgur | environment variables or `config.json` | for image upload | | google drive, dropbox | `public/js/config.js` | for export and import | |