TeslaPy icon indicating copy to clipboard operation
TeslaPy copied to clipboard

Authorization broken -> Always getting "Access Denied"

Open andimattes opened this issue 2 years ago • 1 comments

Starting with yesterday, I'm getting an Access Denied error when using staged authorization.

I'm using selenium with the following Chromeoptions:

options = Options() options.add_argument("--disable-blink-features=AutomationControlled") options.add_argument("--no-sandbox") options.add_argument("--headless") options.add_argument("--disable-dev-shm-usage") options.add_argument('--disable-extensions') options.add_argument("--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36") options.add_argument("--window-size=1920,1080") options.add_argument("--disable-gpu") options.add_argument("--log-level=3")

I always worked without problems but starting with yesterday, after clicking the login button I'm redirected to a page saying

You don't have permission to access "http://auth.tesla.com/en_us/oauth2/v3/authorize?" on this server.

When authorizing manually in the browser everything seems to work.

andimattes avatar Sep 17 '23 08:09 andimattes

Sounds a bit like #128, which OS and which versions of Python and packages are you using?

tdorssers avatar Sep 25 '23 19:09 tdorssers