From 3e2056a8461ae562aaab784b371361bae2d087b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B6rrle?= Date: Thu, 7 Dec 2023 15:50:33 +0100 Subject: [PATCH] replace unsafe characters, according to RFC specification, in AUTHORIZE_URL --- mytoyota/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mytoyota/const.py b/mytoyota/const.py index 1eee1631..c0a3c0d5 100644 --- a/mytoyota/const.py +++ b/mytoyota/const.py @@ -43,7 +43,7 @@ API_BASE_URL = "HTTPS://ctpa-oneapi.tceu-ctp-prd.toyotaconnectedeurope.io" ACCESS_TOKEN_URL = "HTTPS://b2c-login.toyota-europe.com/oauth2/realms/root/realms/tme/access_token" AUTHENTICATE_URL = "HTTPS://b2c-login.toyota-europe.com/json/realms/root/realms/tme/authenticate?authIndexType=service&authIndexValue=oneapp" # pylint: disable=C0301 -AUTHORIZE_URL = "HTTPS://b2c-login.toyota-europe.com/oauth2/realms/root/realms/tme/authorize?client_id=oneapp&scope=openid profile write&response_type=code&redirect_uri=com.toyota.oneapp:/oauth2Callback&code_challenge=plain&code_challenge_method=plain" # pylint: disable=C0301 # noqa: E501 +AUTHORIZE_URL = "HTTPS://b2c-login.toyota-europe.com/oauth2/realms/root/realms/tme/authorize?client_id=oneapp&scope=openid+profile+write&response_type=code&redirect_uri=com.toyota.oneapp:/oauth2Callback&code_challenge=plain&code_challenge_method=plain" # pylint: disable=C0301 # Endpoints CUSTOMER_ACCOUNT_ENDPOINT = "TBD"