Getting "invalid client secret" when trying to get new access_token

hi

I am getting “invalid client secret” response when trying to get new access_token with below request
Method: POST
URL: https://id.twitch.tv/oauth2/token
X-WWW-FORM-URLENCODED:
grant_type=refresh_token&refresh_token=(refresh_token)&client_id=(client_id)&client_secret=(client_secret)
The client_id and client_secret are correct, because refresh token using here is the one we are getting from previous request

We followed twitch API’s docs, but something is going wrong, which we don’t see
Anyone please help to sort the issue.
Thanks

This would indicate the client secret is invalid and not correctly copy/pasted from the dev console.
But generally that would prevent you generating a user token with a refresh token in the first place.

So check everything is set correctly and the right values being used.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.