commento/api/oauth.go
Adhityaa Chandrasekar 3e5c1c2656 oauth: add gitlab
2019-02-22 22:23:27 -05:00

28 lines
393 B
Go

package main
import ()
var configuredOauths []string
func oauthConfigure() error {
configuredOauths = []string{}
if err := googleOauthConfigure(); err != nil {
return err
}
if err := githubOauthConfigure(); err != nil {
return err
}
if err := twitterOauthConfigure(); err != nil {
return err
}
if err := gitlabOauthConfigure(); err != nil {
return err
}
return nil
}