Merge pull request #30992 from TerryHowe/force-oath-v4

fix: force bearer oauth for if registry requests bearer auth
pull/31156/head
Matt Farina 3 weeks ago committed by GitHub
commit de9ea4d1e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -140,6 +140,7 @@ func NewClient(options ...ClientOption) (*Client, error) {
authorizer.Cache = auth.NewCache()
}
authorizer.ForceAttemptOAuth2 = true
client.authorizer = &authorizer
}

Loading…
Cancel
Save