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

unsupported SSO app #15

Open
kennyma-eplus opened this issue Nov 23, 2021 · 2 comments
Open

unsupported SSO app #15

kennyma-eplus opened this issue Nov 23, 2021 · 2 comments

Comments

@kennyma-eplus
Copy link

I use Refresh Token to access [](https://owner-api.teslamotors.com
/api/1/vehicles)

it return unsupported SSO app

@Kemmey
Copy link
Contributor

Kemmey commented Nov 23, 2021

You need to use access token to request data from the api.

Refresh token is for generating access tokens :-D

@meehow-m
Copy link

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" }'

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

3 participants