Merge pull request #784 from pferreir/add-oauth2-support

Add "generic" OAuth2 support
This commit is contained in:
Christoph (Sheogorath) Kern 2018-06-04 15:54:47 +02:00 committed by GitHub
commit 551840ad57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 163 additions and 6 deletions

View file

@ -99,6 +99,7 @@ config.isGitLabEnable = config.gitlab.clientID && config.gitlab.clientSecret
config.isMattermostEnable = config.mattermost.clientID && config.mattermost.clientSecret
config.isLDAPEnable = config.ldap.url
config.isSAMLEnable = config.saml.idpSsoUrl
config.isOAuth2Enable = config.oauth2.clientID && config.oauth2.clientSecret
config.isPDFExportEnable = config.allowPDFExport
// merge legacy values