I am correctly scoping for offline access and am storing that. Every 60 minutes, when needed, I retrieve a new access_token. Code has not changed, but what is odd is that wh
I had a similar issue and was getting an "invalid_grant" response. Turns out I was making the initial OAuth call with grant_type="client_credentials" and I should have been making it using grant_type="password". Wanted to share the solution which worked for me.
More explanation between the grant_types could be found below
Difference between grant_type=client_credentials and grant_type=password in Authentication Flow?