summaryrefslogtreecommitdiffstats
path: root/server/authentication.js
diff options
context:
space:
mode:
authorDominikPf <>2019-05-23 10:28:08 +0200
committerDominikPf <>2019-05-23 10:28:08 +0200
commit892ee605270d583d800ec5ff9e1e4844eae92b38 (patch)
tree4f18a2629f7409a1e36edb3607fe6253ef72310a /server/authentication.js
parentd83cb75f95e94524e1117111ca0dd063021cf3b8 (diff)
downloadwekan-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.js2
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',
},
}
);