Twitch Social Login with Embedded Wallets
Twitch supports social login, allowing users to sign in using their Twitch credentials. Web3Auth supports Twitch as a social login provider, allowing developers to offer a familiar and quick authentication method for users with Twitch accounts.
Prerequisites
- Registered Twitch App
Create a Twitch app
-
Follow Twitch's registration instructions to register your app.
-
Paste the following as a Redirect URI into the "OAuth Redirect URLs" field.

-
After creation of your Twitch app, click Manage.

-
Obtain the Client ID.

Create a Twitch connection
To use this feature, please enable Twitch from the Social Connections section in the Embedded Wallets Dashboard.
By default, Web3Auth uses its own pre-configured credentials for Twitch login.

Follow these steps to create a Twitch connection:
- Visit the Embedded Wallets Dashboard.
- Go to the
Social Connectionssection. - Click on the
Settingsicon near the Twitch connection. - Enter the
Auth Connection ID. - Enter the
Twitch Client ID. - Finally, click on the
Add Connectionbutton.

Usage
Since, the Twitch Connection details are available from Dashboard, developers don't need to pass any additional parameters to the Web3AuthProvider.
Follow our quickstart to set up the basic flow.
Log in with Twitch
await connectTo(WALLET_CONNECTORS.AUTH, {
authConnection: AUTH_CONNECTION.TWITCH,
authConnectionId: 'w3a-twitch-demo',
})