Twitch
This guide explains how to set up Twitch as an authentication provider with Stack Auth. Twitch OAuth allows users to sign in to your application using their Twitch account.
Integration Steps
Create a Twitch OAuth App
- Navigate to the Twitch Developer Console.
- Log in with your Twitch account.
- Navigate to Applications and click Register New Application.
- Enter a Name and select a Category.
- Under OAuth Redirect URLs, add
https://api.stack-auth.com/api/v1/auth/oauth/callback/twitch - Click Create.
- You'll be redirected to your app's dashboard.
- Click Manage of the app you just created to view more details about your app.
- Click "New Secret" to generate a new secret.
- Copy and save the Client ID and Client Secret.
Enable Twitch OAuth in Stack Auth
- On the Stack Auth dashboard, select Auth Methods in the left sidebar.
- Click Add SSO Providers and select Twitch as the provider.
- Set the Client ID and Client Secret you obtained from the Twitch Developer Console earlier.
Need More Help?
- Check the Twitch OAuth Documentation
- Join our Discord