You can easily generate your own Twitch OAuth tokens with this tool. Here is a quick usage guide for you:
- Go to Twitch Dev Console and login to your account.
- In your dashboard, click on "Register Your Application" button.
- Give your application a name, select your category and choose your client type.
- Under OAuth Redirect URLs, add
https://twitchtokentool.click. - Complete the reCAPTCHA test and create your application.
Now that you have created your app, you can see your Client ID and by clicking on "New Secret" button, a Client Secret token will be generated for you. Make sure to store them somewhere safe.
- Open Twitch Token Tool and go to "Generate Token" section.
- Provide your Client ID and Client Secret and hit "Generate" .
- You will be redirected to Twitch Authorization page. Click "Authorize" .
Your tokens are now easily generated! There are two tokens and here is a description about each of them:
- Access Token: This is your main token to use in your app.
- Refresh Token: Access token expires after a short time so you need to refresh it using your refresh token. For more information visit Refresh Token section.
Make sure to store both tokens somewhere safe.
Note: By default, the generated access token doesn't include any scopes. You can select the scopes you want to be included in your token by clicking on "Configure Scopes" button before generating your token. For more information about scopes, visit Twitch API scopes documentation.
As previously mentioned, access tokens will expire after a short time and they need to be refreshed. To do so, you can manually refresh your token via website or use our API endpoint:
-
- Open Twitch Token Tool and go to "Refresh Token" section.
- Provide the refresh token you received earlier to refresh your access token.
- Store your new access token somewhere safe.
-
- Use
https://api.twitchtokentool.click/refresh/YOUR_REFRESH_TOKENand replaceYOUR_REFRESH_TOKENwith your actual refresh token. - API will respond to you with a JSON formatted data which includes
access_tokenwhich is your new access token.
- Use
Note: You can only use this tool for tokens that were previously generated by Twitch Token Tool.
Twitch Token Tool provides other tools too which might be useful for you:
You can provide any access token to validate it and get information about it. You can manually do this via website or use our API endpoint:
-
- Open Twitch Token Tool and go to "Validate Token" section.
- Provide an access token.
- You will see the token's information shortly after.
-
- Use
https://api.twitchtokentool.click/validate/YOUR_ACCESS_TOKENand replaceYOUR_ACCESS_TOKENwith your actual access token. - API will respond to you with a JSON formatted data which includes:
client_id: The Client ID associated with the access token.login: The username of the owner of that access token.scopes: The Scopes associated with the access token.user_id: The user ID of the owner of that access token.expires_in: The amount of time left until the token expires.
- Use
If you don't want to use your access token anymore or you think that your access token has been leaked, You can manually revoke your token via website or use our API endpoint:
-
- Open Twitch Token Tool and go to "Revoke Token" section.
- Provide an access token.
- Your access token will be revoked shortly after.
-
- Use
https://api.twitchtokentool.click/revoke/YOUR_ACCESS_TOKENand replaceYOUR_ACCESS_TOKENwith your actual access token. - Your access token will be revoked shortly after.
- Use
