Expand my Community achievements bar.

Refresh token has any one created or used for any proejct in an API call?

Avatar

Level 2

I can only generate the access token when I create a project. I did send offline_access in scope and grant type but received invalid grant type error response. Any ideas or suggestions? 

 

repsonse :

{
"error": "unsupported_grant_type"
}

3 Replies

Avatar

Employee
Employee

Hi @kishoremittapalli., which API did you add to the project? Depending on the API you can/cannot request the offline_access scope. If the API does not support offline_access, then you can only generate access tokens and not refresh tokens.

 

Avatar

Level 2

Hi @tmj ,

I was trying for Platform APIs.

Avatar

Employee
Employee

Which platform APIs? Can you send me a full screen screenshot of your Project's overview page?