diff --git a/pkg/registry/client.go b/pkg/registry/client.go index 1ed6ab8e7..20b09b411 100644 --- a/pkg/registry/client.go +++ b/pkg/registry/client.go @@ -156,6 +156,8 @@ func NewClient(options ...ClientOption) (*Client, error) { authorizer.Cache = auth.NewCache() } + authorizer.ForceAttemptOAuth2 = true + client.authorizer = &authorizer }