How to request scope

I am reading the twitch irc doc and I see that it requires certain scopes for certain features and it says that i should put the scope i need in my oauth password. I am using Twitch Chat OAuth Password Generator (https://twitchapps.com/tmi/) to get my token. How do i request the scope?

2 Likes

That site is only for generating tokens specifically for Chat, it doesn’t let you customise the scopes and you can’t add scopes to a token after it has been generated. If you need a token with different scopes you should create an app and go through the OAuth process yourself with the scopes you need https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#oauth-authorization-code-flow

2 Likes

Does the token I’m using contain any scopes by default or none at all?

That site requests a token with all the scopes required for Twitch Chat functionality, which are chat:read, chat:edit, channel:moderate, whispers:read, and whispers:edit

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.