I cannot refresh the Reddit access token.
When I send following request to https://ssl.reddit.com/api/v1/access_token
Content-Type: application/x-www-form-urlencoded
Authorization: #####
client_secret=#####&grant_type=refresh_token&client_id=#####&refresh_token=#####
I get status 200
but content is {"error": "invalid_request"}
.
According to OAuth 2.0 spec and Reddit spec I do everything right.
I've also tried it without client_id
and client_secret
with the same result.
Am I missing something?