Open kennyma-eplus opened 2 years ago
You need to use access token to request data from the api.
Refresh token is for generating access tokens :-D
I use Refresh Token to access [](https://owner-api.teslamotors.com /api/1/vehicles)
it return
unsupported SSO app
to get actual bearer token use (replace) {{YOUR_SSO}})
curl --location --request POST 'https://auth.tesla.com/oauth2/v3/token' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data-raw '{ "grant_type": "refresh_token", "client_id": "ownerapi", "refresh_token": "{{YOUR_SSO}}", "scope": "openid email offline_access" }'
I use Refresh Token to access
it return
unsupported SSO app