Skip to content

Commit 7a0eafc

Browse files
committed
allow redirect with consent in the url
1 parent c72d480 commit 7a0eafc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weconnect/auth/we_connect_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def doWebAuth(self, authorizationUrl): # noqa: C901
248248

249249
consentURL = None
250250
while True:
251-
if 'consent' in afterLoginUrl:
252-
consentURL = afterLoginUrl
251+
# if 'consent' in afterLoginUrl:
252+
# consentURL = afterLoginUrl
253253
if 'terms-and-conditions' in afterLoginUrl:
254254
raise AuthentificationError('It seems like you need to accept the terms and conditions for the Volkswagen service.'
255255
f' Try to visit the URL "https://identity.vwgroup.io/{afterLoginUrl}" or log into the Volkswagen smartphone app')

0 commit comments

Comments
 (0)