summaryrefslogtreecommitdiffstats
path: root/server/authentication.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-02-25 19:45:41 +0200
committerLauri Ojansivu <x@xet7.org>2019-02-25 19:45:41 +0200
commit5e238bfbfea16940ae29647ae347bbdc0d78efb0 (patch)
treec3b73c354cc60b70733917e36da85c825da57321 /server/authentication.js
parent7e20a3cac6b2998f528e7217bde370db1fbd9540 (diff)
downloadwekan-5e238bfbfea16940ae29647ae347bbdc0d78efb0.tar.gz
wekan-5e238bfbfea16940ae29647ae347bbdc0d78efb0.tar.bz2
wekan-5e238bfbfea16940ae29647ae347bbdc0d78efb0.zip
- Fix OAuth2 requestPermissions.
Thanks to xet7 ! Closes #1722
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 12be0571..bbe655a2 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'],
+ requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS || ['openid', 'profile', 'email'],
},
}
);