mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
chore: Bump oauth2 0.35.0 (#26347)
Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Patroklos Papapetrou <ppapapetrou76@gmail.com> Signed-off-by: Papapetrou Patroklos <1743100+ppapapetrou76@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6c043d3acb
commit
262360e0ee
@@ -812,7 +812,7 @@ type GoogleCloudCreds struct {
|
||||
}
|
||||
|
||||
func NewGoogleCloudCreds(jsonData string, store CredsStore) GoogleCloudCreds {
|
||||
creds, err := google.CredentialsFromJSON(context.Background(), []byte(jsonData), "https://www.googleapis.com/auth/cloud-platform")
|
||||
creds, err := google.CredentialsFromJSONWithType(context.Background(), []byte(jsonData), google.ServiceAccount, "https://www.googleapis.com/auth/cloud-platform")
|
||||
if err != nil {
|
||||
// Invalid JSON
|
||||
log.Errorf("Failed reading credentials from JSON: %+v", err)
|
||||
|
||||
Reference in New Issue
Block a user