diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-15 12:48:50 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-22 08:41:53 -0400 |
commit | c39e95c7cb1ad6e812aa3ce4000b4dfdf214e77e (patch) | |
tree | 78075f919a9efd78ad845c6b0f50511a0a826e43 /utils/config.go | |
parent | 2fef71da693b5afcc31ccad6be8790da8a70817f (diff) | |
download | chat-c39e95c7cb1ad6e812aa3ce4000b4dfdf214e77e.tar.gz chat-c39e95c7cb1ad6e812aa3ce4000b4dfdf214e77e.tar.bz2 chat-c39e95c7cb1ad6e812aa3ce4000b4dfdf214e77e.zip |
inital implementation of using GitLab OAuth2 provider for signup/login
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index e8fa9a477..163c912bf 100644 --- a/utils/config.go +++ b/utils/config.go @@ -32,6 +32,13 @@ type ServiceSettings struct { StorageDirectory string } +type SSOSettings struct { + AllowGitLabSSO bool + GitLabSecret string + GitLabId string + GitLabUrl string +} + type SqlSettings struct { DriverName string DataSource string @@ -109,6 +116,7 @@ type Config struct { EmailSettings EmailSettings PrivacySettings PrivacySettings TeamSettings TeamSettings + SSOSettings SSOSettings } func (o *Config) ToJson() string { |