stackdriver: add debug logging

This commit is contained in:
Erik Sundell
2018-10-10 17:33:38 +02:00
parent 3999578300
commit b2c6c743ce
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@ func ApplyRoute(ctx context.Context, req *http.Request, proxyPath string, route
}
}
logger.Info("ds-auth-provider-authenticationType", "debug", e.dsInfo.JsonData.Get("authenticationType"))
authenticationType := ds.JsonData.Get("authenticationType").MustString("jwt")
if route.JwtTokenAuth != nil && authenticationType == "jwt" {
logger.Info("authenticationType", "authenticationType", "jwt")