stackdriver: add default value for authentication type
This commit is contained in:
1 parent
823838a839
commit
cd7b454e25
2 files changed
+2
-2
No files matched your search
@@ -55,7 +55,7 @@ func ApplyRoute(ctx context.Context, req *http.Request, proxyPath string, route
|
||||
}
|
||||
}
|
||||
|
||||
authenticationType := ds.JsonData.Get("authenticationType").MustString()
|
||||
authenticationType := ds.JsonData.Get("authenticationType").MustString("jwt")
|
||||
if route.JwtTokenAuth != nil && authenticationType == "jwt" {
|
||||
logger.Info("authenticationType", "authenticationType", "jwt")
|
||||
if token, err := tokenProvider.getJwtAccessToken(ctx, data); err != nil {
|
||||
|
||||
Reference in new issue
Block a user