bogosj / tesla

Provides a wrapper around the API to easily query and command a Telsa car.
Other
23 stars 18 forks source link

Unable to authenticate using cmd/login #56

Closed Rudi9719 closed 3 years ago

Rudi9719 commented 3 years ago

Was writing a bot and accidentally logged out. Now I can't seem to log back in using my old code, or the cmd/login example.

╭─rudi@imogene ~/tesla/cmd/login  ‹main› 
╰─➤  go run . -o tesla.token
Username: rudi@nightmare.haus
Password: ************************************************************
2021/07/10 11:06:37 list devices: do: Get "https://auth.tesla.com/oauth2/v3/authorize/mfa/factors?transaction_id=[redacted]": net/http: timeout awaiting response headers
exit status 1
Rudi9719 commented 3 years ago

Was able to authenticate using a token generated from a 3rd party, but not using cmd/login

andig commented 3 years ago

Same report here: https://github.com/andig/evcc/discussions/1201. I suspect Tesla may have reactivated the captcha, potentially only when MFA is NOT used?

andig commented 3 years ago

Teslamate has done https://github.com/adriankumpf/teslamate/commit/1a90cdeadfa5dfe57a78aa8c4cad517f3d0b775a

andig commented 3 years ago

https://github.com/fkhera/powerwallCloud/commit/ba4012a4d6b6cfd0f5fd8d8299577fca005bb42f has a process of:

Rudi9719 commented 3 years ago

I've noticed a few other apps having issue with Tesla auth recently.