Merge pull request #7455 from overleaf/jpa-dropbox-app-name

[web] use an environment specific app name for dropbox

GitOrigin-RevId: 22f8fb911e04f8dd24dc01be9dd3bea9e05fd150
This commit is contained in:
Jakob Ackermann 2022-04-07 16:11:37 +01:00 committed by Copybot
parent ed40ce27ab
commit 8b8b15bffb

View file

@ -362,6 +362,7 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) {
res.locals.ExposedSettings = {
isOverleaf: Settings.overleaf != null,
appName: Settings.appName,
dropboxAppName: Settings.apis.thirdPartyDataStore?.dropboxAppName || '',
hasSamlBeta: req.session.samlBeta,
hasSamlFeature: Features.hasFeature('saml'),
samlInitPath: _.get(Settings, ['saml', 'ukamf', 'initPath']),