From 4a4ae9d332cff31991d9f63417895fce18717f61 Mon Sep 17 00:00:00 2001 From: Norihito Nakae Date: Tue, 28 Nov 2017 12:46:58 +0900 Subject: Initial support for SAML authentication --- config.json.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config.json.example') diff --git a/config.json.example b/config.json.example index bd7ab043..db1dd94f 100644 --- a/config.json.example +++ b/config.json.example @@ -75,6 +75,22 @@ "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)", + "callbackUrl": "change or delete: callback url to consume assertions (default: serverurl+'/auth/saml/callback')", + "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)", + "displayName": "change or delete this: attribute map for `displayName` (default: NameID)", + "email": "change or delete this: attribute map for `email` (default: NameID)" + } + }, "imgur": { "clientID": "change this" }, -- cgit v1.2.3 From a22be81febd6f0bad118e8722e62c841836af807 Mon Sep 17 00:00:00 2001 From: Norihito Nakae Date: Wed, 29 Nov 2017 15:45:32 +0900 Subject: fixed the SAML callback URL to unconfigurable. --- config.json.example | 1 - 1 file changed, 1 deletion(-) (limited to 'config.json.example') diff --git a/config.json.example b/config.json.example index db1dd94f..00165f51 100644 --- a/config.json.example +++ b/config.json.example @@ -79,7 +79,6 @@ "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)", - "callbackUrl": "change or delete: callback url to consume assertions (default: serverurl+'/auth/saml/callback')", "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" ], -- cgit v1.2.3 From 2db2ff484fb0911ea699c7fc59b8b1ad868ca992 Mon Sep 17 00:00:00 2001 From: Norihito Nakae Date: Mon, 4 Dec 2017 19:57:06 +0900 Subject: added guide for SAML settings --- config.json.example | 1 - 1 file changed, 1 deletion(-) (limited to 'config.json.example') diff --git a/config.json.example b/config.json.example index 00165f51..8d23be8a 100644 --- a/config.json.example +++ b/config.json.example @@ -86,7 +86,6 @@ "attribute": { "id": "change or delete this: attribute map for `id` (default: NameID)", "username": "change or delete this: attribute map for `username` (default: NameID)", - "displayName": "change or delete this: attribute map for `displayName` (default: NameID)", "email": "change or delete this: attribute map for `email` (default: NameID)" } }, -- cgit v1.2.3