Analytics - Support for RefreshToken

Avatar

Avatar

airpra9638712

Avatar

airpra9638712

airpra9638712

16-06-2019

Is refresh token api supported in analytics using  https://ims-na1.adobelogin.com/ims/token/v1 ?

I keep getting following error while generating access_token -

{

    "error": "unauthorized_client"

}

Curl Request -

curl -X POST \

  https://ims-na1.adobelogin.com/ims/token/v1 \

  -H 'Content-Type: application/x-www-form-urlencoded' \

  -H 'cache-control: no-cache' \

  -d 'grant_type=refresh_token&client_id=xxxxxx&client_secret=xxxxx&refresh_token=xxxxxxxxxxxxxx&redirect_uri=https%3A%2F%2F02e6cb06.ngrok.io

If not, how can I access tokens for various organisations without explicitly login post token expiry?