-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use OAuth2.0 v3 Authentication #6
Comments
FWIW, I think if there's a way to have a web view in Tasker, you might be able to do the same thing the Tesla app now does - launch the starting URL and watch for the web view to hit the fake result URL. I don't know Tasker well enough to know if that's possible. |
Would you create a 'auth.tesla.cn' profile for me? |
Hopefully find the time to do so. Pull requests are welcome too 😉 |
Is there an easy workaround to bypass the |
@lLarryLaffer, there's not. This profile uses the old auth endpoint, so until it's updated, there's not much to do. |
As an update, as I found some time yesterday: |
@lLarryLaffer: As a workaround you can directly set the %Tesla_token under VARS to a valid token (generated by python script on pc or whatever) and set %Tesla_token_expires_in to 9999999999999999 until I updated the code |
As an update, as I found some time yesterday evening:
|
Curious if this is in the current play store build now? I've got my access and refresh tokens. Sticking both in the OAuth Token and OAuth Refresh Token fields throws up an error. I can put the access token in the Access Token field but I'm guessing it's ignoring the Refresh Token field at that point? |
Hi Rubin,
Tesla API in Tasker is not listed in the Google play store, only GitHub and Taskernet
As wrote above: you need to set %Tesla_token_expires_in to 9999999999999999 for current workaround, and yes refresh token is also broken in current version, due to the Oath V3 update by Tesla. Hope this helps. |
see https://tesla-api.timdorr.com/api-basics/authentication
The text was updated successfully, but these errors were encountered: