tesla-api: Auth page goes 401
https://owner-api.teslamotors.com/oauth/token response:
{
"error":"unsupported_grant_type",
"error_description":"The authorization grant type is not supported by the authorization server."
}
from 2022-3-22, before this day everything is OK.
And then, how to change token?
UPDATE:
At now, step 3 https://auth.tesla.com/oauth2/v3/token return access_token can be access all API endpoint.
No need step 4 yet.
But all token expire in 8 hours.
And refresh_token not working.
Who knew how to refresh token?
UPDATE 2: refresh token does work now. All things done.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 9
- Comments: 35 (1 by maintainers)
Getting same stuff here. The Tesla API in iOS App cannot be reversed by middle man. Is there any other way to get the latest grant_type?
They removed the step4 owner Token only the step 3 normal access token is now working for all endpoints. A long overdue decision, as it is far too unsecure to keep a token valid for such a long time and the owner token were never revoked at logout/password change of the user