Authentication
Methods
Steam

Authentication with Steam

⚠️

Steam authentication with app id 480 is no more supported by the EOS SDK now. Make sure you have your own Steam App Id for the authentication to work.

Starting from version 4.0.0, the Steam login method is pretty smooth and easy to implement. Let's dive into the steps to set up the Steam login method in your Unreal Engine project.

Setting up Epic Developer Portal

  1. Go to the Epic Games Developer Portal (opens in a new tab) and select your project.
  1. Now under Product Settings, click on Identity Providers and press on Add Identity Provider.

picture 0



  1. Select Steam from the list and fill the required information:

    • Description: This can be any Description you want to give to the Identity Provider.
    • Encryption Key: This should be a empty string.
    • SteamNetworkingIdentity value: This should be set to epiconlineservices if you are using Unreal Engine 5.4 or above. For Unreal Engine 5.3 or below, this should be a empty string. If you are using Steam Integration Kit (opens in a new tab), then this should always be set to epiconlineservices.
    • OAuth Client ID: This should be a empty string.
    • App ID: This should be your Steam App ID. If you don't have a Steam App ID, you can get it from the Steamworks (opens in a new tab) website.

picture 1



  1. To attach the Identity Provider to your sandbox, go to Sandboxes and select the sandbox you want to attach the Identity Provider to. Now click on Identity Providers and select the profile you just created. Press Save and you are done!

This will take a few minutes to get it to populate, give it a few minutes and you are ready to go!

Project Setup

  1. Enable the Steam Plugin that you want to use in your project. You can do this by going to Edit -> Plugins and search for Online Subsystem Steam or Steam Integration Kit and enable it.

  2. If you are using the Steam Integration Kit, just configure the plugin with your Steam App ID and you are good to go. If you are using the Online Subsystem Steam, you need to add the following lines to your DefaultEngine.ini:

[OnlineSubsystem]
DefaultPlatformService=EIK
NativePlatformService=Steam
 
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=[Your Steam ID]

Blueprint Implementation

Onto the final step! Now that you have set up the Steam login method in the Epic Developer Portal and your Unreal Engine project, you can start implementing the Steam login method in your project. Here is an example of how you can do this:



Cannot view the code? Click here (opens in a new tab)

That is it! You have successfully implemented the Steam login method in your Unreal Engine project. Now you can authenticate your users using their Steam account.