Skip to content
Store Dev
Last Updated

Matchmaking Integration Guide

💡 What can you do with this guide?

This guide walks you through the steps to connect your game so that players can join Epic Games EOS Matchmaking using only their STOVE account.

Once the integration is complete, STOVE members can participate in EOS Matchmaking without an Epic Games login prompt.


Why is this integration needed?

When a game is released on multiple platforms — STOVE, Epic Games Store, Steam, etc. — each platform has its own separate user accounts.

If you run separate matchmaking per platform, players from different platforms cannot play together.

With EOS Matchmaking, players connect from any platform into a single user pool, increasing the number of players you can be matched with.


Prerequisites

CategoryItemDescription
AccountEpic Games Developer AccountYou do not need to release your game on the Epic Games Store. Sign up
AccountSTOVE AccountAn account with access to a game registered in STOVE Studio
GameGame project to integrate EOS & STOVE SDKYou will integrate both the EOS C SDK and the STOVE PC SDK here
FileEOS C SDKDownload from the Epic Games Developer Portal
FileSTOVE PC SDKUsed to obtain the STOVE user authentication token. Download

Overview of the Full Flow

ℹ️ Note

Steps 1–3 (Epic Games Portal setup) only need to be done once. The steps after that are the actual build, run, and verification process.

ℹ️ EOS Login Methods
EOS has two login methods. This guide covers method 2 (Connect).

  • Auth method : Displays the Epic Games account login window
  • Connect method : Issues an EOS PUID (user identifier) using another platform account (such as STOVE) → Allows matchmaking participation without the Epic Games login window

※ OpenID is an open-standard, decentralized authentication protocol that enables secure login to websites and apps using a third-party identity provider (STOVE, Epic Games Store, Steam, PlayStation Store, etc.)._

Step 1. Epic Games Developer Portal Setup

Go to the Epic Games Developer Portal and create an organization and product.

1-1. Create an Organization

After logging in, select “Create an organization” to create your organization.

1-2. Agree to Terms

Agree to the “Epic Online Services, Standard Services” agreement. Review the content displayed on screen and accept it.

1-3. Create a Product and Check IDs

When you create a product, the following three IDs are automatically generated. Note these down, as you will need to enter them into your code later.

  • Product ID
  • Sandbox ID (Environment ID, Live)
  • Deployment ID (Live)

1-4. Create a Client and Policy

Add a new client from the Clients tab. When creating a client, you must also configure a client policy.


Policy Configuration Notes

The policy type must be set to Peer2Peer. It includes the permissions required for matchmaking (Lobbies/Sessions).
The “User required” toggle must be enabled in order to use Lobbies (matchmaking).

Step 2. Connect STOVE Account to EOS

Register STOVE as an Identity Provider so that EOS can recognize STOVE member IDs.

2-1. Add an Identity Provider

Go to Product Settings → Identity Providers tab → click the Add Identity Provider button.

2-2. Enter the UserInfo Endpoint

Enter the following values exactly as shown.

SettingValue
Identity ProviderOpenID
TypeUserInfo Endpoint
Endpointhttps://api.onstove.com/oidc/v1/userinfo
HTTP MethodGET
Account ID Fieldsub (contains the STOVE member number)
Display Name Fieldnickname (STOVE nickname)

2-3. Connect to the Live Environment (Sandbox)

Simply registering is not enough — you must connect it to the Live environment.

Sandboxes tab → Live → Identiry Providers button → Select the entry you just registered (stove openid)

The change takes effect immediately without a separate Save button.

Connect the Identiry provider configured above to OpenID.

Step 3. Obtain Client Credentials

Go to the SDK Downloads & Credentials tab and click the “Use credentials in header file” button.


Integration MethodWhere to enter values
C/C++ SDKEnter into your configuration file (e.g., `config/credentials.h`) in the format below. 
struct SampleConstants
{
text
static constexpr char ProductId[] = "<PRODUCT_ID>";
static constexpr char SandboxId[] = "<SANDBOX_ID>";
static constexpr char DeploymentId[] = "<DEPLOYMENT_ID>";
static constexpr char ClientCredentialsId[] = "<CLIENT_ID>";
static constexpr char ClientCredentialsSecret[] = "<CLIENT_SECRET>";

};
Reference: Set Up the EOS SDK — Epic Official Guide |
| Unreal
(Online Services EOS) | Enter the following format into the project’s DefaultEngine.ini. \

text
[OnlineServices.EOS]
ProductId=PRODUCT_ID
SandboxId=SANDBOX_ID
DeploymentId=DEPLOYMENT_ID
ClientId=CLIENT_ID
ClientSecret=CLIENT_SECRET

Reference: Enable and Configure Online Services EOS — Unreal Official Docs |
| Unity
(PlayEveryWare EOS Plugin) | Enter the values directly in the editor UI window without editing the configuration file manually. (The plugin saves the entered values to the configuration file.)
Menu: EOS Plugin → EOS Configuration (or Tools → EOS Plugin → Configuration, depending on plugin version). Enter Product Id / Sandbox Id / Deployment Id / Client Id / Client Secret in the window.


Reference: PlayEveryWare EOS Plugin — Configure the Plugin |

If you enter incorrect values

Running the game will produce a client_not_found (110002) error. Copy the values again from the Epic Games Developer Portal and re-enter them carefully.


Step 4. Code Guide — Obtaining a PUID Without the Epic Games Login Prompt

Key Principles (3 Points)

  • Not calling EOS_Auth_* functions prevents the Epic Games login window from appearing.
  • Disable the overlay UI when creating the platform.
  • For new identities, CreateUser issues a PUID without any UI.

4-1. Get Token from STOVE PC SDK

After initializing the PC SDK, obtain the STOVE user authentication token (ccess_token to pass to EOS.
For PC SDK initialization, refer to the STOVE PC SDK v3 Integration Guide.

cpp
// [1] PC app restart check (required)
Base_RestartAppIfNecessaryAsyncEx2(¶m, OnRestartChecked);

// [2] Callback: initialize PC SDK
void OnRestartChecked(/* ... */) {
    Base_InitializeEx(OnInitFinished);
}

// [3] Callback: obtain authentication token (access_token)
Base_GetAccessToken(buf, len);

4-2. 4-2. Disable the Epic Games Overlay Login UI

cpp
EOS_Platform_Options po = {};

// Enter the 3 IDs and client credentials from Step 3
po.ProductId                       = "<PRODUCT_ID>";
po.SandboxId                       = "<SANDBOX_ID>";
po.DeploymentId                    = "<DEPLOYMENT_ID>";
po.ClientCredentials.ClientId      = "<CLIENT_ID>";
po.ClientCredentials.ClientSecret  = "<CLIENT_SECRET>";

// Disable overlay (no Epic UI popup)
po.Flags = EOS_PF_DISABLE_OVERLAY;

EOS_Platform_Create(&po);  // Create the EOS platform handle

4-3. Issue a New EOS Identity Using the STOVE Auth Token

cpp
// [1] Set STOVE token as EOS Connect credentials
EOS_Connect_Credentials cred = {};
cred.Token = stoveAccessToken;            // access_token from Step 4-1
cred.Type  = EOS_ECT_OPENID_ACCESS_TOKEN; // OpenID type (for STOVE)

// [2] Call EOS Connect Login (bypasses Epic Auth entirely)
EOS_Connect_LoginOptions lo = {};
lo.Credentials    = &cred;
lo.UserLoginInfo  = nullptr; // Account ID (sub) / nickname fetched from EOS UserInfo URL (Step 2-2)
EOS_Connect_Login(handle, &lo, nullptr, OnConnectLogin);

// [3] Handle the callback
void OnConnectLogin(const EOS_Connect_LoginCallbackInfo* d) {
    if (d->ResultCode == EOS_EResult::EOS_Success) {
        // Successfully obtained PUID
        // EOS_ProductUserId puid = d->LocalUserId;

    } else if (d->ResultCode == EOS_EResult::EOS_InvalidUser) {
        // New user — issue a PUID
        EOS_Connect_CreateUserOptions o = {};
        o.ContinuanceToken = d->ContinuanceToken; // Token from Connect_Login callback
        EOS_Connect_CreateUser(handle, &o, nullptr, OnCreateUser);
    }
}

After obtaining a PUID, call the Lobbies/Sessions (matchmaking) API.

For EOS matchmaking integration methods, refer to the [EOS Multiplayer Overview].

The code above can also be found in the demo source code.


Step 5. Verify Authentication in Game

Download the sample demo from STOVE and verify that it works correctly.

For instructions on uploading a build to STOVE and running tests, refer to the STOVE Developer Docs — Running a Game Build.


FAQ (Troubleshooting)

SymptomCauseSolution
HTTP 401 / Connect_Login: 7000 when logging in with OpenIDIncorrect UserInfo URLVerify that https://api.onstove.com/oidc/v1/userinfo is entered exactly
resultCode=82 after STOVE initSTOVE PC client not running or not logged inLaunch the game while logged into the STOVE PC client
EOS authentication keeps failingToken environment (SANDBOX) and portal connection environment (LIVE) mismatchSet both to LIVE
client_not_found (110002) at launchTypo in credentialsCopy the values again from the Epic Games Developer Portal and re-enter

Reference — Integrating a Steam Build Without Epic Games Login

Steam builds can also be integrated without Epic Games Auth login. The code structure is the same as Step 4-3; only the method for obtaining the authentication token differs.

Prerequisites: In the Epic Games Developer Portal → Identity Providers, register **Steam** separately. (This is separate from the STOVE OpenID configured in Step 2-3.)

Getting a Token in a Steam Build

  1. Instead of a STOVE auth token, obtain an authentication ticket using Steam SDK ISteamUser::GetAuthTicketForWebApi.
  2. Convert the received ticket to a hex string.
  3. Change only cred.Type to EOS_ECT_STEAM_SESSION_TICKET. (The rest of the code and callbacks are identical to Step 4-3.)

Contact Us


If you have any questions, please contact us on Discord or by email at store.support@smilegate.com.