> For the complete documentation index, see [llms.txt](/llms.txt).

# Twitch Social Login with Embedded Wallets

Twitch supports social login, allowing users to [sign in using their Twitch credentials](https://dev.twitch.tv/docs/authentication/#user-access-tokens). Embedded Wallets supports Twitch as a social login provider, allowing developers to offer a familiar and quick authentication method for users with Twitch accounts.

## Prerequisites[​](#prerequisites "Direct link to Prerequisites")

- Registered [Twitch App](https://dev.twitch.tv/docs/authentication/#registration)

## Step 1: Create a Twitch app[​](#step-1-create-a-twitch-app "Direct link to Step 1: Create a Twitch app")

1. Follow Twitch's [registration instructions](https://dev.twitch.tv/docs/authentication/#registration) to [register your app](https://dev.twitch.tv/console/apps/create).
2. Paste the following as a Redirect URI into the "OAuth Redirect URLs" field.

  - <https://auth.web3auth.io/auth>  
![Twitch OAuth2.0 App Dashboard](/img/embedded-wallets/authentication/twitch/twitch-app.png)
3. After creation of your Twitch app, click **Manage**.  
![Twitch OAuth2.0 App Manage](/img/embedded-wallets/authentication/twitch/twitch-manage.png)
4. Obtain the **Client ID**.  
![Twitch OAuth2.0 App Manage](/img/embedded-wallets/authentication/twitch/twitch-client-id.png)

## Step 2: Create a Twitch connection[​](#step-2-create-a-twitch-connection "Direct link to Step 2: Create a Twitch connection")

Enable on dashboard

To use this feature, enable `Twitch` from the Social Connections section in the [dashboard](https://developer.metamask.io).

By default, Web3Auth uses its own pre-configured credentials for Twitch login.

![Toggle Twitch Connection on Dashboard](/assets/images/authentication-social-connections-39836c31a54393f4387abf946cf59a2f.png) 

Follow these steps to create a Twitch connection:

1. Visit the [dashboard](https://developer.metamask.io).
2. Go to the **Social Connections** section.
3. Click the **Settings** icon near the Twitch connection.
4. Enter the `Auth Connection ID`.
5. Enter the `Twitch Client ID`.
6. Click the **Add Connection** button to save the settings.
![Twitch Connection](/assets/images/twitch-connection-fbd83df8312fe4734ebc4650ab624a8c.png) 

## Usage[​](#usage "Direct link to Usage")

Since the Twitch connection details are available from the dashboard, developers don't need to pass any additional parameters to the `Web3AuthProvider`.

tip

Follow our [quickstart](/quickstart/?product=EMBEDDED%5FWALLETS&walletAggregatorOnly=NO&framework=REACT&stepIndex=0) to set up the basic flow.

### Log in with Twitch[​](#log-in-with-twitch "Direct link to Log in with Twitch")

```
await connectTo(WALLET_CONNECTORS.AUTH, {
  authConnection: AUTH_CONNECTION.TWITCH,
  authConnectionId: 'w3a-twitch-demo',
})

```
