Connect Twitch to Auth0
Twitch setup
- Visit the Twitch Developer account page and sign up.
- Enable 2FA as Twitch requires it before you can register an application.
- Create a new application in the Twitch Developer Console.
- Complete the application registration form.
-
Configure OAuth redirect URL:
- Redirect URL:
https://YOUR_AUTH0_DOMAIN/login/callback
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains. - Redirect URL:
- Select a category from the dropdown.
- Select Confidential client type from the radio button group.
- Click Create button.
- Back in the Applications tab, locate your app under Developer Applications, and click Manage.
- After creating, Twitch shows your Client Id and let you create your Client Secret by clicking a button.
- Copy the Client ID and Client Secret.
- Click Save.
Token Vault configuration example
To configure the Token Vault for your Twitch connection, you can use the following code snippet in your application:Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.