diff --git a/oras/auth/token.py b/oras/auth/token.py index 0b47d7f..355848d 100644 --- a/oras/auth/token.py +++ b/oras/auth/token.py @@ -99,8 +99,6 @@ def request_token(self, h: auth_utils.authHeader) -> bool: """ params = {} headers = {} - if self._basic_auth: # we exchange the basic auth for the token - headers["Authorization"] = "Basic %s" % self._basic_auth # Prepare request to retry if h.service: