I can authenticate and fetch an access_token and the corresponding refresh_token fine (subsequent API interactions are also fine).
However, I seem to only be able to refresh a token (POST
to /oauth/token
with grant_type=refresh_token
) before the access_token
actually expires. After the expiration, the same refresh code (exactly that provided within the docs), returns with an error of invalid_grant
.
I am using the soundcloud-ruby SDK, FWIW, but I can reproduce it through curl.
As an aside, I found some old messages from the Google Group mentioning that I can request a non-expiring token, but I do not see this mentioned anywhere in the docs. Is this still a viable option?