This application lets you generate a Twitch OAuth token, which is needed for tools like chat bots or other Twitch integrations. It’s designed for those who don’t have a development setup but still want a secure way to authorize their account without relying on third-party services. Your token stays private and is authorized directly through Twitch.
-
Create a Twitch Application
Follow the steps in Creating an Application to set up your Twitch application.
-
Run tokenizer
-
Enter Required Details
- Client ID and Client Secret: Input the credentials from your Twitch application.
- Scopes: Provide the necessary scopes for your integration, separated by spaces. For example,
chat:read chat:edit
.
-
Authorize in Your Browser
The application will open a web browser for OAuth authorization. Verify that the requesting application is the one you created.
-
Reuse or Edit Settings
On subsequent runs, tokenizer will remember your previous input. To update settings, manually edit the configuration files listed.
- Log in to the Twitch's developer console.
- Fill in the following details:
- Name: Your choice (must be unique)
- OAuth Redirect URLs:
http://localhost:3000
- Category: Your choice, Other is fine
- Client Type: Confidential
- After creating the application, click
Manage
next to it.- Note down the Client ID
- Generate and save the Client Secret by clicking
New Secret
.
Security: All data provided to tokenizer remains on your computer and is only sent to Twitch during the OAuth process.
Port Configuration: Use the PORT
environment variable to change the listening port. Ensure this matches the OAuth Redirect URLs in your Twitch application.