Skip to content

Commit 05b1e57

Browse files
committed
Revert "core: TokenAuth request_token fix missing auth" b/c oras-project#153
this was taken care in oras-project#153 This reverts commit 10e010b. Signed-off-by: tarilabs <matteo.mortari@gmail.com>
1 parent 06f885b commit 05b1e57

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

oras/auth/token.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ def request_token(self, h: auth_utils.authHeader) -> bool:
9999
"""
100100
params = {}
101101
headers = {}
102-
if self._basic_auth: # we exchange the basic auth for the token
103-
headers["Authorization"] = "Basic %s" % self._basic_auth
104102

105103
# Prepare request to retry
106104
if h.service:

0 commit comments

Comments
 (0)