Skip to content

Commit 9133499

Browse files
go vet fixes (#622)
1 parent 5cda81b commit 9133499

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/markbates/going v1.0.0
1414
github.com/mrjones/oauth v0.0.0-20180629183705-f4e24b6d100c
1515
github.com/stretchr/testify v1.9.0
16-
golang.org/x/oauth2 v0.27.0
16+
golang.org/x/oauth2 v0.30.0
1717
)
1818

1919
require (

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
8787
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
8888
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
8989
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
90+
golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI=
91+
golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
9092
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9193
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9294
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

providers/openidConnect/openidConnect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type RefreshTokenResponse struct {
9191
// refresh token flow. As a result, a new ID token may not be returned in a successful
9292
// response.
9393
// See more: https://openid.net/specs/openid-connect-core-1_0.html#RefreshingAccessToken
94-
IdToken string `json:"id_token, omitempty"`
94+
IdToken string `json:"id_token,omitempty"`
9595

9696
// The OAuth spec defines the refresh token as an optional response field in the
9797
// refresh token flow. As a result, a new refresh token may not be returned in a successful

0 commit comments

Comments
 (0)