summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.json.example')
-rw-r--r--config.json.example17
1 files changed, 16 insertions, 1 deletions
diff --git a/config.json.example b/config.json.example
index bd7ab043..c2c270c3 100644
--- a/config.json.example
+++ b/config.json.example
@@ -70,11 +70,26 @@
"tokenSecret": "change this",
"searchBase": "change this",
"searchFilter": "change this",
- "searchAttributes": "change this",
+ "searchAttributes": ["change this"],
+ "usernameField": "change this e.g. uid",
"tlsOptions": {
"changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback"
}
},
+ "saml": {
+ "idpSsoUrl": "change: authentication endpoint of IdP",
+ "idpCert": "change: certificate file path of IdP in PEM format",
+ "issuer": "change or delete: identity of the service provider (default: serverurl)",
+ "identifierFormat": "change or delete: name identifier format (default: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress')",
+ "groupAttribute": "change or delete: attribute name for group list (ex: memberOf)",
+ "requiredGroups": [ "change or delete: group names that allowed" ],
+ "externalGroups": [ "change or delete: group names that not allowed" ],
+ "attribute": {
+ "id": "change or delete this: attribute map for `id` (default: NameID)",
+ "username": "change or delete this: attribute map for `username` (default: NameID)",
+ "email": "change or delete this: attribute map for `email` (default: NameID)"
+ }
+ },
"imgur": {
"clientID": "change this"
},