---
title: Twitch
support_level: community
---

Allows users to authenticate using their Twitch credentials

## Preparation

The following placeholders are used in this guide:

- `authentik.company` is the FQDN of the authentik installation.

## Twitch

1. Click **Register Your Application** in the Twitch Developers Console https://dev.twitch.tv/console

![Register Your Application Button](./twitch1.png)

2. Name your Application

3. Add https://authentik.company/source/oauth/callback/twitch in the **OAuth Redirect URLs** field

4. Select a Category for your Application

5. Click **Create** to finish the registration of your Application

![Create Application](./twitch2.png)

6. Click **Manage** on your newly created Application

![Manage Application](./twitch3.png)

7. Copy your Client ID and save it for later

8. Click **New Secret** to create a new Secret

9. Copy the above Secret and also save it for later

![Copy Keys](./twitch4.png)

## authentik

10. Under _Directory -> Federation & Social login_ Click **Create Twitch OAuth Source**

11. **Name:** Choose a name (For the example I used Twitch)
12. **Slug:** twitch (You can choose a different slug, if you do you will need to update the Twitch redirect URL and point it to the correct slug.)
13. **Consumer Key:** Client ID from step 7
14. **Consumer Secret:** Secret from step 9

Here is an example of a complete authentik Twitch OAuth Source

![Authentik Source Example](./twitch5.png)

Save, and you now have Twitch as a source.

:::note
For instructions on how to display the new source on the authentik login page, refer to the [Add sources to default login page documentation](../../index.md#add-sources-to-default-login-page).
:::
