Skip to content

Commit

Permalink
Merge pull request #6 from rliegmann/main
Browse files Browse the repository at this point in the history
[fix] token generation
  • Loading branch information
Farfar authored Jul 4, 2023
2 parents 0fc4203 + af32031 commit 5aeb0e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion seatconnect/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
For more details and documentation, visit the github page at https://github.com/farfar/seatconnect
"""
__version__ = "1.1.6"
__version__ = "1.1.7"
2 changes: 1 addition & 1 deletion seatconnect/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def extract_guest_language_id(req):
tokenBody = {
'auth_code': jwt_auth_code,
'id_token': jwt_id_token,
'brand': BRAND
'brand': 'cupra'
}
tokenURL = 'https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode'
req = await self._session.post(
Expand Down
8 changes: 4 additions & 4 deletions seatconnect/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
# Data used in communication
CLIENT_LIST = {
'seat': {
'CLIENT_ID': '50f215ac-4444-4230-9fb1-fe15cd1a9bcc@apps_vw-dilab_com',
'CLIENT_ID': '30e33736-c537-4c72-ab60-74a7b92cfe83@apps_vw-dilab_com',
'SCOPE': 'openid profile address phone email birthdate nationalIdentifier cars mbb dealers badge nationality',
'TOKEN_TYPES': 'code id_token'
'TOKEN_TYPES': 'code id_token token'
}
}



#XCLIENT_ID = '3516bc10-fabd-4eb2-b41c-b38e21e9d8f6'
XCLIENT_ID = 'c34af3dc-f9d0-4bff-a5db-f0af674929f0'
XCLIENT_ID = '9d183b70-d129-424f-9a26-c3778edf95e1'
XAPPVERSION = '1.4.0'
XAPPNAME = 'SEATConnect'
USER_AGENT = 'okhttp/3.10.0'
APP_URI = 'seatconnect://identity-kit/login'
APP_URI = 'cupraconnect://identity-kit/login'

HEADERS_SESSION = {
'Connection': 'keep-alive',
Expand Down

0 comments on commit 5aeb0e7

Please sign in to comment.