OAuth remake

This commit is contained in:
Torkel Ödegaard
2014-10-07 17:56:37 -04:00
parent 450d242d5f
commit d7cd2b970e
9 changed files with 72 additions and 41 deletions
+2
View File
@@ -16,6 +16,7 @@ import (
"github.com/torkelo/grafana-pro/pkg/middleware"
"github.com/torkelo/grafana-pro/pkg/routes"
"github.com/torkelo/grafana-pro/pkg/setting"
"github.com/torkelo/grafana-pro/pkg/social"
"github.com/torkelo/grafana-pro/pkg/stores/rethink"
)
@@ -65,6 +66,7 @@ func runWeb(*cli.Context) {
setting.NewConfigContext()
setting.InitServices()
rethink.Init()
social.NewOAuthService()
log.Info("Starting Grafana-Pro v.1-alpha")