This commit is contained in:
Patrick Jones
2020-10-19 14:39:14 -07:00
parent b838bbaf4d
commit 7f24b845a5
2 changed files with 9 additions and 10 deletions

View File

@@ -34,7 +34,6 @@ func ExchangeToken(endpoint string, request *STSTokenExchangeRequest, authentica
}
req.Header.Add("Content-Length", strconv.Itoa(len(data.Encode())))
resp, err := client.Do(req)
if err != nil {
fmt.Errorf("oauth2/google: invalid response from Secure Token Server: #{err}")