diff --git a/ivoy/client.py b/ivoy/client.py index 71c011b..fae4250 100644 --- a/ivoy/client.py +++ b/ivoy/client.py @@ -113,7 +113,9 @@ def get_token( ), ), ) - response = self.session.request('POST', url, auth=auth, json=json_data) + response = self.session.request( + 'POST', url, auth=auth, json=json_data, timeout=60 + ) self._check_response(response) data = response.json() self.id_client = data['data']['idClient']