Configure Steam Authentication
Web3 apps that use Steam for user authentication can enable authenticated users to sign blockchain transactions using the Arcana wallet. This requires configuring Steam before integrating the app with the Arcana Auth SDK.
Some of the authentication provider configuration steps are performed using the Steam Community Website , whereas the others use the Arcana Developer Dashboard.
Developers must have a Steam account and have at least $5 worth of purchased games in the account before they can obtain the Steam API Key. First set up this key using the Arcana Developer Dashboard before you can integrate the app with the Arcana Auth SDK, initialize the
AuthProvider, and add code to use the Arcana Auth SDK functions for onboarding users and enabling authenticated users to sign blockchain transactions using the Arcana wallet.
When utilizing global keys in the Mainnet configuration profile, developers do not need to configure the social login section in the Arcana Developer Dashboard or set up provider-specific OAuth settings to obtain a clientID. If you are using a copy of the Testnet configuration profile as the Mainnet configuration profile, remove the Social Auth section settings altogether. Simply use the Arcana assigned Client ID for integrating the app with the Arcana Auth SDK.
Step 1: Register App
Go to the Arcana Developer Dashboard: https://dashboard.arcana.network
Register the app by creating a new entry using the 'Create New App' wizard.
Skip this step if you have already registered your app using the Arcana Developer Dashboard and obtained a Client ID.
Use defaults for configuration settings or edit them as per the app requirements. See the How to configure an app guide for details.
Go to the app configuration screen on the Arcana Developer Dashboard and click Configure > Social Auth section in the LHS.
Do not close the Arcana Developer Dashboard browser tab. Open another tab and browse Steam Community Site and obtain the API Key in the next step. Then come back to the Arcana Developer Dashboard tab and complete the app configuration settings.
Step 2: Get Steam OAuth API Key
Go to the Steam Community Site. Login to your account.
Access Steam API Key
Make sure you do not have a Steam limited account otherwise you cannot access the API Key. Refer to Steam FAQ for more details.
Register for a new Steam Web API Key. Provide the app domain name as input to access your API Key.
Copy the Steam API Key for your app domain. It will be required in the next step while completing the app configuration using the Arcana Developer Dashboard.
Step 3: Update Arcana Developer Dashboard
Revisit the Arcana Developer Dashboard app configuration screen. Click Configure > Social Auth section in the LHS navigation bar. Paste the Steam API Key obtained in the previous step in the "Steam*" field.
Save the settings. Arcana assigns a unique Client ID to every registered app. Save this Client ID and use it while integrating the app with the Arcana Auth SDK.
You are all set with the Steam configuration. Next, integrate the Web3 app with the Arcana Auth SDK and enable the authenticated users to sign blockchain transactions using the Arcana wallet. See Arcana wallet Developer's Guide for details.