diff --git a/src/volvo.py b/src/volvo.py index b901d7e..35aeb4d 100644 --- a/src/volvo.py +++ b/src/volvo.py @@ -114,7 +114,7 @@ def authorize(renew_tokenfile=False): def continue_auth(auth_session, data): next_url = data["_links"]["continueAuthentication"]["href"].replace("http://", "https://") + "?action=continueAuthentication" - auth = auth_session.get(next_url) + auth = auth_session.post(next_url, data="{}") if auth.status_code == 200: return auth.json()