Hi,
For login, I redirect the user to the following url with js:
var url = "https://id.twitch.tv/oauth2/authorize?client_id="+clientid+"&redirect_uri="+redirecturi+"&response_type=code&scope="+scope+"&force_verify=true";
However, when redirected, I get the following error saying that a response type is missing despite the fact that I gave it in the query’s url:
With Redirect URI redirect_uri="+redirecturi+"&response_type=code&scope="+scope+"&force_verify=true"
You need to URIEncode the Redirect URI.
This looks like JS so the “fix” is
var url = "https://id.twitch.tv/oauth2/authorize?client_id="+clientid+"&redirect_uri="+encodeURIComponent(redirecturi)+"&response_type=code&scope="+scope+"&force_verify=true";