summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorDavid Mehren2020-07-11 21:29:44 +0200
committerGitHub2020-07-11 21:29:44 +0200
commit2a52805a26ce9262b1c33e307dbf912fdeb72845 (patch)
treea0d30391e6e4e430b4c43aa3a299ea01ea5dfbb3 /lib/config
parent3db8b0df43b027d15d13047e25617266ddc57f13 (diff)
parenta134aa3f35d083bb36340562f61c8d19ea9a9027 (diff)
Merge pull request #350 from n0emis/saml-client-cert
Diffstat (limited to '')
-rw-r--r--lib/config/default.js1
-rw-r--r--lib/config/environment.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index 9b852d1e..9284882a 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -143,6 +143,7 @@ module.exports = {
saml: {
idpSsoUrl: undefined,
idpCert: undefined,
+ clientCert: undefined,
issuer: undefined,
identifierFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
disableRequestedAuthnContext: false,
diff --git a/lib/config/environment.js b/lib/config/environment.js
index 87a7e3ee..2d76286f 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -120,6 +120,7 @@ module.exports = {
saml: {
idpSsoUrl: process.env.CMD_SAML_IDPSSOURL,
idpCert: process.env.CMD_SAML_IDPCERT,
+ clientCert: process.env.CMD_SAML_CLIENTCERT,
issuer: process.env.CMD_SAML_ISSUER,
identifierFormat: process.env.CMD_SAML_IDENTIFIERFORMAT,
disableRequestedAuthnContext: toBooleanConfig(process.env.CMD_SAML_DISABLEREQUESTEDAUTHNCONTEXT),