This page will setup the bot to automatically refresh the Bot's OAuth tokens. Please follow all instructions below to set this up properly.
- Create a new Twitch Application, if not already created
- Go to Twitch Developer Portal and login
- Click Your Console in the top-right corner
- Click the Applications tab
- Click Register Your Application
- In the Name box, put the name of your bot, or another name that will be recognized
- In the OAuth Redirect URLs box, put
- In the Category drop-down, select Chat Bot
- Click Create
- Open the Manage page for your new Twitch Application, if not already open
- Go to Twitch Developer Portal and login
- Click Your Console in the top-right corner
- Click the Applications tab
- Click Manage next to the appropriate application
-
Enter the Client ID here:
-
Get the Client Secret
- Click New Secret
- Click OK when prompted to generate a new secret
- Enter the Client Secret here:
- NOTE: You already have a secret saved, it is hidden for security reasons. If you do not need to update the secret, skip ahead to the authorize buttons
-
Click here to save the Client ID and Client Secret:
-
Re-authorize the bot and broadcaster using the buttons below
-
(Optional) If the broadcaster is a different person and prefers to do the broadcaster authorization themselves
- Go back to the Twitch Developer Portal and login
- Click Your Console in the top-right corner
- Click the Applications tab
- Click Manage next to the appropriate application
- Next to the existing OAuth Redirect URLs box, click the Add button
- Put this URL into the new blank box that appeared
- Click Save
- Click here to generate a broadcaster password for this page:
- Have the broadcaster visit this link
- Give the broadcaster this username and this password
- After the broadcaster logs in, they just have to click the Connect With Twitch Broadcaster button and authorize it
-
Once both OAuths have been successfully re-authorized, restart the bot
Clicking one of the
Connect with Twitch
buttons below will have you be redirected to Twitch.TV to authorize the bot to make requests on your behalf.
The following permissions are requested for the
bot's
Twitch account (Twitch will display this list too. For more info check
this):
The following permissions are requested for the
broadcaster's
Twitch account (Twitch will display this list too. For more info check
this):
Connect with Twitch Bot
Connect with Twitch Broadcaster