Discussions

Ask a Question
Back to All

Token

I need a little help as we are working on one of the IMis integration with the cloud version of IMis and facing one issue.

We are receiving the refresh_token and call is getting redirected to our application, but after when we call token API to verify the client token getting the invalid grant type error
passing these parramters
curl -X POST
https://demoaisp38.imiscloud.com/token
-H 'cache-control: no-cache'
-H 'content-type: application/x-www-form-urlencoded'
-H 'postman-token: f024c114-fcf9-6325-e2e8-874a44016bea'
-d 'grant_type=refresh_token&client_id=test&client_secret=test&refresh_token=688449fc4e8043a39c8f45fabb7d1ea7'

the response we getting back is invalid grant type

any help what we doing wrong