I’m having trouble getting a bearer token for the moderator:read:chatters scope through the browser authorization flow, even though it works perfectly with the CLI tool.
What works:
- I have mod permissions in the target channel
- Other scopes like
moderator:manage:announcementswork fine through URL authorization - CLI command
twitch token -u -s 'moderator:read:chatters'generates a valid token that works for API calls like Get Chatters
What doesn’t work:
Using the OAuth URL with the encoded scope parameter fails and shows a “site can’t be reached” error.
https://id.twitch.tv/oauth2/authorize?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=http://localhost:3000&scope=moderator%3Aread%3Achatters
Could this be related to the beta status of this particular scope? Has anyone else encountered similar issues with browser-based OAuth for this specific permission?