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

Endpoint deprecated: Please update your App #126

Open
chrispi68 opened this issue Feb 6, 2021 · 6 comments
Open

Endpoint deprecated: Please update your App #126

chrispi68 opened this issue Feb 6, 2021 · 6 comments

Comments

@chrispi68
Copy link

I get the following response:

{"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}

@JSkimming
Copy link
Owner

To which request?

@chrispi68
Copy link
Author

 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.

@dsmithson
Copy link

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.

@Thom-Ernst
Copy link

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.

@chrispi68
Copy link
Author

It looks like this project is dead.

@JSkimming
Copy link
Owner

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.

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

4 participants