We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1772973 + 53013d2 commit 407af13Copy full SHA for 407af13
internal/agenthttp/auth.go
@@ -36,7 +36,7 @@ func (t authenticatedTransport) RoundTrip(req *http.Request) (*http.Response, er
36
}()
37
}
38
39
- if t.Token == "" {
+ if t.Token == "" && t.Bearer == "" {
40
return nil, fmt.Errorf("Invalid token, empty string supplied")
41
42
0 commit comments