teslams icon indicating copy to clipboard operation
teslams copied to clipboard

authentication URL no longer working (Jan 2021)

Open wga22 opened this issue 4 years ago • 4 comments

authentication URL no longer working

Tesla has switched to using a separate SSO service (auth.tesla.com) for their app and website. This replaces the previous password grant that was directly on the Owner API. They have also added MFA support with TOTP authenticators.

wga22 avatar Feb 02 '21 23:02 wga22

Is someone working on this or not ?

mischoe avatar Mar 01 '21 10:03 mischoe

I have switched over to https://github.com/teslajs, but to be honest, it is only working inconsistently (10%) of the time.

Feel free to see my code and perhaps point out issues?!

https://github.com/wga22/nodejs/blob/master/tesla/teslaFramework.js

wga22 avatar Mar 02 '21 03:03 wga22

TeslaJS is working reliably for me and many other users. And the Tesla Control app is also working reliably as well.

The main issues with reliability seem to have to do with the Tesla WAF blocking cloud providers and users that send too many requests. Since login should be rare this is not a problem for most users.

mseminatore avatar Mar 08 '21 01:03 mseminatore

I am also consistently connecting well. Thank you for all the hard work that went into this!!

wga22 avatar Mar 09 '21 01:03 wga22