commento/api/oauth.go
Adhityaa Chandrasekar c07f3e8b9f oauth: add twitter
2019-02-22 22:23:26 -05:00

24 lines
328 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
}
return nil
}