diff --git a/server/authentication.js b/server/authentication.js index 10d4984ca..965f16695 100644 --- a/server/authentication.js +++ b/server/authentication.js @@ -81,7 +81,7 @@ Meteor.startup(() => { tokenEndpoint: process.env.OAUTH2_TOKEN_ENDPOINT, idTokenWhitelistFields: process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [], - requestPermissions: 'BDFUserProfile.me', + requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS, }, }, );