+4
appview/oauth/oauth.go
+4
appview/oauth/oauth.go
···
60
60
61
61
clientApp := oauth.NewClientApp(&oauthConfig, authStore)
62
62
clientApp.Dir = res.Directory()
63
+
// allow non-public transports in dev mode
64
+
if config.Core.Dev {
65
+
clientApp.Resolver.Client.Transport = http.DefaultTransport
66
+
}
63
67
64
68
return &OAuth{
65
69
ClientApp: clientApp,