summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2017-12-04 18:57:57 +0100
committerGitHub2017-12-04 18:57:57 +0100
commit0957f5963b735e9ccde4098265c7fab13dbb216b (patch)
tree63e288eb3abe096a0156fae96b4be646a9619ffb /config.json.example
parent8112cd6fef740c3bf8f535de860c2e7b8dd51834 (diff)
parent2db2ff484fb0911ea699c7fc59b8b1ad868ca992 (diff)
Merge pull request #633 from nakaeeee/saml-auth
Support SAML authentication
Diffstat (limited to 'config.json.example')
-rw-r--r--config.json.example14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.json.example b/config.json.example
index bd7ab043..8d23be8a 100644
--- a/config.json.example
+++ b/config.json.example
@@ -75,6 +75,20 @@
"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"
},