summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/authentication.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/authentication.js b/server/authentication.js
index b1e7f8ec..217647bd 100644
--- a/server/authentication.js
+++ b/server/authentication.js
@@ -76,7 +76,7 @@ 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,
+ idTokenWhitelistFields: process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],
requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS,
},
// OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],