website/docs/users-sources/sources/social-logins/twitch/index.md
Allows users to authenticate using their Twitch credentials by configuring Twitch as a federated identity provider via OAuth2.
The following placeholders are used in this guide:
authentik.company is the FQDN of the authentik installation.To integrate Twitch with authentik you will need to create an OAuth application in the Twitch Developers Console.
Log in to the Twitch Developers Console.
Next to Applications click Register Your Application and set the following fields:
authentikhttps://authentik.company/source/oauth/callback/twitchClick Create to finish the registration of your application.
Next to your newly created application, click Manage.
Generate a secret by clicking New Secret.
Take note of the Client ID and Client Secret. This value will be required in the next section.
Click Save.
To support the integration of Twitch with authentik, you need to create an Twitch OAuth source in authentik.
OAuth Redirect URLs field (e.g. twitch), and set the following required configurations:
<client_ID><client_secret>:::info For instructions on how to display the new source on the authentik login page, refer to the Add sources to default login page documentation. :::
:::info Embed new source in flow :ak-enterprise For instructions on embedding the new source within a flow, such as an authorization flow, refer to the Source Stage documentation. :::
Source property mappings allow you to modify or gather extra information from sources. See the overview for more information.