Skip to content

Twitch Setup

Estimated time to read: 1 minute

Configuring Twitch for apps using global keys differs from apps using app-specific keys.

Prerequisites

  • Log in to the Arcana Developer Dashboard: https://dashboard.arcana.network

  • Before you can configure, the app should be registered by creating a new app entry in the dashboard through the 'Create New App' wizard.

Register & Configure

Each app is assigned a unique Client ID upon registration. A default Testnet configuration is linked with the registered app. No social authentication providers are enabled for the app. Passwordless login is enabled for all registered apps automatically.

A registered app can be deployed only at the Arcana Testnet. Developers must create a Mainnet profile using the Arcana Developer Dashboard to deploy a registered app on the Mainnet. Each profile can use identical or different Social Auth settings.

App Identifier
Unique App Identifier: ClientID

Global Keys

Apps that require global keys feature do not need to configure the Social Auth settings in the Arcana Developer Dashboard.

User onboarding via Twitch is automatically turned on for the app when global keys are enabled.

Global Keys Setting
Global Keys Setting

Global Keys Configuration Change

In the earlier versions of the Arcana Auth SDK, apps using global keys were required to configure Social Auth settings for the providers. This behavior has changed in the latest release of the Arcana Auth SDK.

If an app was configured for any social login providers and switches over from app-specific to global keyspace later, the Social Auth settings will be disabled altogether.

Global Keys, Social Auth Settings Disabled
Global Keys: Social Auth Settings Disabled

App-specific Keys

Follow these steps to configure the Social Auth settings and enable user onboarding via Twitch. It requires developers to use the Arcana Developer Dashboard and the Twitch Developer Dashboard.

Step 1: Get Redirect URI

Select the app in the Manage Apps dashboard screen and click Testnet/Mainnet to configure Twitch in the respective configuration profile. Go to Configure > Social Auth. Copy the redirect URI shown on the top right.

Copy Redirect URL
Copy Redirect URL

Do not close the Social Auth browser tab in the Arcana Developer Dashboard. Open another tab and set up Twitch OAuth.

Step 2: Get Twitch ClientID

Go to the Twitch Developer Console and register the app as a new Twitch application.

Twitch Console: Create New App
Twitch Console: Create New App

Enter the application name.

Specify the Redirect URI copied from the Arcana Developer Dashboard in the previous step into the OAuth Redirect URL field of the Twitch Developer Console.

Copy the ClientID generated by Twitch for the newly registered application in the Twitch Developer Console. It will be required in the next step while using the Arcana Developer Dashboard for completing the app configuration.

Copy Twitch ClientID
Copy Twitch ClientID

Step 3: Update Twitch Social Auth Settings

In the Arcana Developer Dashboard, click Configure > Social Auth. Refer to the empty fields next to the "Twitch" setting. Paste the Client ID assigned by the Twitch Developer Console, in the previous step, in the input text field.

Update Twitch ClientID
Update Twitch ClientID

Save the Social Auth settings.

You are all set with the Twitch configuration!


Last update: March 15, 2024 by shaloo, shaloo