tesla-net
tesla-net copied to clipboard
Endpoint deprecated: Please update your App
I get the following response:
{"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}
To which request?
using (var httpClient = new HttpClient(TeslaClientBase.CreateDefaultHttpClientHandler(), false))
{
httpClient.DefaultRequestHeaders.UserAgent.ParseAdd("tesla-net/0.6.2");
using (var auth = new TeslaAuthClient(httpClient))
{
var authResult = auth.RequestAccessTokenAsync(TESLA_CLIENT_ID, TESLA_CLIENT_SECRET, EMAIL, PASSWORD).GetAwaiter().GetResult();
accessToken = authResult.Data.AccessToken;
}
}
authResult contains the "Endpoint deprecated" message and "accessToken = authResult.Data.AccessToken;" throws an exception.
For what it's worth - looks like Tesla deprecated the /oauth/token endpoint. Tim Dorr is working on updating the documentation now on his authentication page.
Have you been able to figure this out using Tim's new documentation? I'm a bit confused by it and I don't see any changes here.
It looks like this project is dead.
It's not dead, it's resting.
To be fair, I'm rather preoccupied at the moment, and I don't use this library in any meaningful way anymore. I may devote time to this in the future, but I can't give any timescales.
I could mark the repo as Archived if that helps.