oauth2/google
Shapor Naghibzadeh 622c5d57e4 google/google: set JWT Audience in JWTConfigFromJSON()
Add support to set JWT Audience in JWTConfigFromJSON() to allow setting
the audience field from the JSON config, rather than only allowing it
the default value of the token_uri.

Previous change 272766 (approved but abandoned).

Change-Id: I14d46f3628df0a04801949bf99520b210e778f99
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/406836
Reviewed-by: Cody Oss <codyoss@google.com>
Run-TryBot: Cody Oss <codyoss@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-05-24 21:58:30 +00:00
..
downscope google/downscope: return body in error message 2021-08-19 19:09:43 +00:00
internal/externalaccount google/internal: Add AWS Session Token to Metadata Requests 2022-03-09 15:54:54 +00:00
testdata/gcloud google: Use new endpoints for Google authentication 2019-02-26 19:11:47 +00:00
appengine.go all: use stdlib context instead of x/net/context 2018-11-01 16:01:52 +00:00
appengine_gen1.go all: go fmt ./... 2021-02-20 00:06:19 +00:00
appengine_gen2_flex.go all: go fmt ./... 2021-02-20 00:06:19 +00:00
default.go all: gofmt 2022-04-11 21:57:20 +00:00
doc.go all: gofmt 2022-04-11 21:57:20 +00:00
example_test.go google: Support scopes for ComputeTokenSource 2019-04-02 18:19:05 +00:00
google.go google/google: set JWT Audience in JWTConfigFromJSON() 2022-05-24 21:58:30 +00:00
google_test.go google/google: set JWT Audience in JWTConfigFromJSON() 2022-05-24 21:58:30 +00:00
jwt.go google: support scopes for JWT access token 2021-06-15 19:07:21 +00:00
jwt_test.go google: support scopes for JWT access token 2021-06-15 19:07:21 +00:00
sdk.go all: use stdlib context instead of x/net/context 2018-11-01 16:01:52 +00:00
sdk_test.go internal: move ParseINI into google 2018-01-02 15:01:02 +00:00