Merge pull request #990 from SISheogorath/fix/oauthProviderName

Make oauth2 provider name accessible
This commit is contained in:
Christoph (Sheogorath) Kern
2018-10-09 21:57:37 +02:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ module.exports = {
},
// authentication
oauth2: {
providerName: undefined,
authorizationURL: undefined,
tokenURL: undefined,
clientID: undefined,

View File

@@ -75,6 +75,7 @@ module.exports = {
clientSecret: process.env.CMD_MATTERMOST_CLIENTSECRET
},
oauth2: {
providerName: process.env.CMD_OAUTH2_PROVIDERNAME,
baseURL: process.env.CMD_OAUTH2_BASEURL,
userProfileURL: process.env.CMD_OAUTH2_USER_PROFILE_URL,
userProfileUsernameAttr: process.env.CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR,