diff --git a/indexclient/client.py b/indexclient/client.py index ae7e155..6ce8426 100644 --- a/indexclient/client.py +++ b/indexclient/client.py @@ -407,6 +407,8 @@ def list_versions(self, did): @retry_and_timeout_wrapper def _get(self, *path, **kwargs): + if self.auth and 'auth' not in kwargs: + kwargs['auth'] = self.auth resp = requests.get(self.url_for(*path), **kwargs) handle_error(resp) return resp