- You need to URI Encode your
redirect_uriit looks like you redirect URI got&scopeadded to the end instead of the scope being passed to Twitch - Scopes are space seperated with encode to a
+
Also clientID’s are public no need to redacted that
Loose example https://github.com/BarryCarlyon/twitch_misc/blob/main/authentication/user_access_generator/nodejs/views/generator.pug#L59
You error doesn’t look like a Twitch Error, but a error from your system?
So you are saying
https://id.twitch.tv/oauth2/authorize?client_id=mycid&response_type=code&redirect_uri=https://domain.com&scope=chat:read&state=somestate
Which to twitch may say: my redirect URI is https://domain.com&scope=chat:read&state=somestate so you don’t pass any scopes or state to the auth page and then after the redirect something goes awry?