Hello All,
I am trying to add a Twitch OAuth to Yii2 which already has many others OAuth clients implemented.
I have read the doc about the authentication API found here https://github.com/justintv/Twitch-API/blob/master/authentication.md and many others posts related the same question as in the title.
Nothing helps. I still get the same error:
‘Request failed with code: 400, message: {“error”:“Bad Request”,“status”:400,“message”:“Parameter redirect_uri does not match registered URI”}’
Here are more details:
=== registered Redirect URI ===
Your OAuth redirect_uri must exactly match that of the one saved for your application in Twitch’s database. If you need to pass stateful information, you should do so through the state parameter.