summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorMax Wu2017-01-09 00:49:40 +0800
committerGitHub2017-01-09 00:49:40 +0800
commitb13635aac9d42996d0ac9b9b7dcbdf94102c7abe (patch)
tree966bdbdd4a359311eae02a86144df8a4307aafb2 /config.json.example
parent23a12dd927b66880fa991b377d450455851b69a9 (diff)
parent94abfaba7c5b7655eda3d6547144adfa26c90a5f (diff)
Merge pull request #279 from alecdwm/ldap-auth
Support for LDAP server authentication
Diffstat (limited to '')
-rw-r--r--config.json.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.json.example b/config.json.example
index e5e3fc56..57669cf9 100644
--- a/config.json.example
+++ b/config.json.example
@@ -51,6 +51,18 @@
"clientID": "change this",
"clientSecret": "change this"
},
+ "ldap": {
+ "url": "ldap://change_this",
+ "bindDn": null,
+ "bindCredentials": null,
+ "tokenSecret": "change this",
+ "searchBase": "change this",
+ "searchFilter": "change this",
+ "searchAttributes": "change this",
+ "tlsOptions": {
+ "changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback"
+ }
+ },
"imgur": {
"clientID": "change this"
}