mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 17:30:13 +01:00
Fixed: With ORACLE_OIM_ENABLED, allow setting OAUTH2_REQUEST_PERMISSIONS with environment variable.
Thanks to xet7 !
This commit is contained in:
parent
5098f7dee1
commit
1b429b3f99
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ Meteor.startup(() => {
|
||||||
tokenEndpoint: process.env.OAUTH2_TOKEN_ENDPOINT,
|
tokenEndpoint: process.env.OAUTH2_TOKEN_ENDPOINT,
|
||||||
idTokenWhitelistFields:
|
idTokenWhitelistFields:
|
||||||
process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],
|
process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [],
|
||||||
requestPermissions: 'BDFUserProfile.me',
|
requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue