Redirect_uri does not match registered 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.