Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tesla Auth Flow Change #1268

Closed
rthomson83 opened this issue Jan 30, 2021 · 3 comments
Closed

Tesla Auth Flow Change #1268

rthomson83 opened this issue Jan 30, 2021 · 3 comments

Comments

@rthomson83
Copy link

Looks like tesla has changed the auth flow today TM API now fails with this error:
2021-01-30 21:32:46.492 [warn] Token refresh failed: %TeslaApi.Error{ env: %Tesla.Env{ __client__: %Tesla.Client{adapter: nil, fun: nil, post: [], pre: []} __module__: TeslaApi, body: %{"response" => "endpoint_deprecated:_please_update_your_app."},

Looks like they've now migrated to SSO and deprecated direct auth on the owners API.

Flow that works is detailed here https://tesla-api.timdorr.com/api-basics/authentication#post-https-auth-tesla-com-oauth-2-v-3-token

@wmaciel
Copy link

wmaciel commented Feb 1, 2021

@rthomson83 have you found a workaround?
The link only redirects me to the API's documentation.

@wmaciel
Copy link

wmaciel commented Feb 1, 2021

nevermind, the new version of teslamate seems to address this. I'll upgrade.

@rthomson83
Copy link
Author

When I logged this I hadn't released there was an edge release in docker registry that contained all the updated changes. Once I discovered that I closed off this ticket but should've posted the resolution back here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants