Skip to content
This repository was archived by the owner on Jun 27, 2021. It is now read-only.

Commit 189909a

Browse files
committed
Google: new endpoint
1 parent 227f92b commit 189909a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GOVERSION := 1.12
1919
PROJECT := github.com/DeviaVir/terraform-provider-gsuite
2020
OWNER := $(notdir $(patsubst %/,%,$(dir $(PROJECT))))
2121
NAME := $(notdir $(PROJECT))
22-
VERSION := 0.1.22
22+
VERSION := 0.1.23
2323
EXTERNAL_TOOLS = \
2424
github.com/golang/dep/cmd/dep
2525

gsuite/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (c *Config) loadAndValidate() error {
7676
Email: account.ClientEmail,
7777
PrivateKey: []byte(account.PrivateKey),
7878
Scopes: oauthScopes,
79-
TokenURL: "https://accounts.google.com/o/oauth2/token",
79+
TokenURL: "https://oauth2.googleapis.com/token",
8080
}
8181

8282
conf.Subject = c.ImpersonatedUserEmail

0 commit comments

Comments
 (0)