tdorssers / TeslaPy

A Python module to use the Tesla Motors Owner API
MIT License
374 stars 84 forks source link

Redirect URL doesn't work #46

Closed youzer-name closed 2 years ago

youzer-name commented 2 years ago

I was able to successfully use TeslaPy and cli.py to generate a token earlier this week. Using the same Raspberry Pi platform I tried to use it again just now but the URL I was redirected to after logging in was generic - https://auth.tesla.com/static/404.html - not the long URL that can be pasted back into the script to generate the token. I looked like the longer URL flashed on the screen for a split second, but I can't figure out any way to find it in Chrome. It isn't in the browser history. Did Tesla make a change to the auth site that has broken the TeslaPy login process?

youzer-name commented 2 years ago

After trying many, many times without success and then opening this issue... it worked. I had the previous login open in Chrome with the developer tools window open when I tried again. This time it stayed on the page with the URL that was needed.