We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca86833 commit b35900aCopy full SHA for b35900a
idtoken/validate.go
@@ -19,6 +19,7 @@ import (
19
"strings"
20
"time"
21
22
+ "google.golang.org/api/option"
23
"google.golang.org/api/option/internaloption"
24
htransport "google.golang.org/api/transport/http"
25
)
@@ -36,7 +37,10 @@ var (
36
37
38
39
func defaultValidatorOpts() []ClientOption {
- return []ClientOption{internaloption.WithDefaultScopes("https://www.googleapis.com/auth/cloud-platform")}
40
+ return []ClientOption{
41
+ internaloption.WithDefaultScopes("https://www.googleapis.com/auth/cloud-platform"),
42
+ option.WithoutAuthentication(),
43
+ }
44
}
45
46
// Payload represents a decoded payload of an ID Token.
0 commit comments