diff options
author | DominikPf <> | 2019-05-23 10:28:08 +0200 |
---|---|---|
committer | DominikPf <> | 2019-05-23 10:28:08 +0200 |
commit | 892ee605270d583d800ec5ff9e1e4844eae92b38 (patch) | |
tree | 4f18a2629f7409a1e36edb3607fe6253ef72310a /server/authentication.js | |
parent | d83cb75f95e94524e1117111ca0dd063021cf3b8 (diff) | |
download | wekan-892ee605270d583d800ec5ff9e1e4844eae92b38.tar.gz wekan-892ee605270d583d800ec5ff9e1e4844eae92b38.tar.bz2 wekan-892ee605270d583d800ec5ff9e1e4844eae92b38.zip |
Fix Scope parsing Issue for OAuth2 Login
Diffstat (limited to 'server/authentication.js')
-rw-r--r-- | server/authentication.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/authentication.js b/server/authentication.js index 328b1cb3..b0da74f8 100644 --- a/server/authentication.js +++ b/server/authentication.js @@ -77,7 +77,7 @@ Meteor.startup(() => { 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'], + requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS || 'openid profile email', }, } ); |