Stack Auth
Guides
SDKComponentsAPI Reference
OverviewFAQ
Getting Started
SetupComponentsUsersProductionExample-pages
Concepts
API KeysBackend IntegrationCustom User DataEmailsJWT TokensOAuth
OAuth Providers
GitHubGoogleFacebookMicrosoftSpotifyDiscordGitLabAppleBitbucketLinkedInX (Twitter)TwitchPasskeyTwo-Factor Authentication (2FA)
Orgs and TeamsPermissionsStack AppTeam SelectionUser OnboardingWebhooks
Customization
Custom PagesCustom StylesDark ModeInternationalization
Page Examples
Other
CLI AuthenticationSelf-hostSupabaseConvex
Stack Auth Docs
OAuth Providers

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

  1. Navigate to the Twitch Developer Console.
  2. Log in with your Twitch account.
  3. Navigate to Applications and click Register New Application.
  4. Enter a Name and select a Category.
  5. Under OAuth Redirect URLs, add https://api.stack-auth.com/api/v1/auth/oauth/callback/twitch
  6. Click Create.
  7. You'll be redirected to your app's dashboard.
  8. Click Manage of the app you just created to view more details about your app.
  9. Click "New Secret" to generate a new secret.
  10. Copy and save the Client ID and Client Secret.

Enable Twitch OAuth in Stack Auth

  1. On the Stack Auth dashboard, select Auth Methods in the left sidebar.
  2. Click Add SSO Providers and select Twitch as the provider.
  3. 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
Previous PageX (Twitter)
Next PagePasskey

On this page

Integration StepsCreate a Twitch OAuth AppEnable Twitch OAuth in Stack AuthNeed More Help?

Stack Auth AI

Experimental: AI responses may not always be accurate—please verify important details.

For the most accurate information, please join our Discord or email us.

How can I help?

Ask me about Stack Auth while you browse the docs.