Connect Twitch to Auth0
1
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.
- Select Create.
- Back in the Applications tab, locate your app under Developer Applications, and select Manage.
- After creation, Twitch shows your Client ID and lets you create your Client Secret by selecting New Secret.
- Copy the Client ID and Client Secret.
- Select Save.
2
Auth0 setup
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.
- If your application uses Organizations, authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
- To learn how to get an access token to make a tool call, complete the Call third-party APIs on user’s behalf Quickstart.