summaryrefslogtreecommitdiffstats
path: root/server/authentication.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-06-12 06:29:57 +0300
committerLauri Ojansivu <x@xet7.org>2019-06-12 06:29:57 +0300
commit8b31c0768c34fc4557b54cec936a0b4288a8e722 (patch)
tree41b49db46cfe8e64f3fd8e6e67eaee40258c1648 /server/authentication.js
parent25e294fd92667807a93ebd73d70888cab66c104d (diff)
downloadwekan-8b31c0768c34fc4557b54cec936a0b4288a8e722.tar.gz
wekan-8b31c0768c34fc4557b54cec936a0b4288a8e722.tar.bz2
wekan-8b31c0768c34fc4557b54cec936a0b4288a8e722.zip
Try to fix OIDC login.
Thanks to xet7 !
Diffstat (limited to 'server/authentication.js')
-rw-r--r--server/authentication.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/authentication.js b/server/authentication.js
index b0da74f8..b1e7f8ec 100644
--- a/server/authentication.js
+++ b/server/authentication.js
@@ -76,9 +76,11 @@ Meteor.startup(() => {
authorizationEndpoint: process.env.OAUTH2_AUTH_ENDPOINT,
userinfoEndpoint: process.env.OAUTH2_USERINFO_ENDPOINT,
tokenEndpoint: process.env.OAUTH2_TOKEN_ENDPOINT,
- idTokenWhitelistFields: process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],
- requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS || 'openid profile email',
+ idTokenWhitelistFields: process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS,
+ requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS,
},
+ // OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],
+ // OAUTH2_REQUEST_PERMISSIONS || 'openid profile email',
}
);
}