Update go dependencies
This commit is contained in:
parent
a858c549d9
commit
f3bde94d68
643 changed files with 14296 additions and 19354 deletions
2
vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/BUILD
generated
vendored
2
vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/BUILD
generated
vendored
|
|
@ -9,14 +9,12 @@ load(
|
|||
go_test(
|
||||
name = "go_default_test",
|
||||
srcs = ["oidc_test.go"],
|
||||
importpath = "k8s.io/client-go/plugin/pkg/client/auth/oidc",
|
||||
library = ":go_default_library",
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["oidc.go"],
|
||||
importpath = "k8s.io/client-go/plugin/pkg/client/auth/oidc",
|
||||
deps = [
|
||||
"//vendor/github.com/golang/glog:go_default_library",
|
||||
"//vendor/golang.org/x/oauth2:go_default_library",
|
||||
|
|
|
|||
6
vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc.go
generated
vendored
6
vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc.go
generated
vendored
|
|
@ -258,11 +258,7 @@ func (p *oidcAuthProvider) idToken() (string, error) {
|
|||
|
||||
idToken, ok := token.Extra("id_token").(string)
|
||||
if !ok {
|
||||
// id_token isn't a required part of a refresh token response, so some
|
||||
// providers (Okta) don't return this value.
|
||||
//
|
||||
// See https://github.com/kubernetes/kubernetes/issues/36847
|
||||
return "", fmt.Errorf("token response did not contain an id_token, either the scope \"openid\" wasn't requested upon login, or the provider doesn't support id_tokens as part of the refresh response.")
|
||||
return "", fmt.Errorf("token response did not contain an id_token")
|
||||
}
|
||||
|
||||
// Create a new config to persist.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue