This falls under the category of a “auth without a server” right?
So you probably want this Authentication | Twitch Developers instead and then just leave the redirect_uri as blank/localhost?
As per