Guide

How to Get Your Steam Auth Code

Connect your Steam account to sync recent CS2 matches automatically — no manual file hunting required.

Your Steam password is never involved. A Game Auth Code is a temporary token Steam generates for match history lookups. It does not grant any access to your Steam account, wallet, or inventory.
01
Sign in with Steam on CS2 Replays

Go to cs2replays.com and click the Sign in with Steam button. You'll be redirected to Steam's login page. After signing in, Steam redirects you back to your CS2 Replays dashboard.

This uses Steam OpenID — a standard login protocol. CS2 Replays receives your Steam ID and public profile name only. Your password never leaves Steam.

02
Open the Steam Game Auth Code page

In a new tab, open this Steam support page:
steam: CS2 Game Authentication Codes →

You must be logged into Steam in the same browser. If Steam prompts you to log in again, do so and then revisit the link.

03
Click "Create Authentication Code"

On the page, scroll down to the section titled Game Authentication Codes. Click the Create Authentication Code button.

Steam will generate a code in the format XXXX-XXXXX-XXXX. Copy this code — you'll need it in the next step. The code is valid for approximately 24 hours.

04
Paste the code into your CS2 Replays dashboard

Back on cs2replays.com, click the ⟳ Sync button (or + Add Matches if it's your first time). Paste the auth code into the Game Auth Code field and click Fetch Matches.

CS2 Replays will fetch your recent competitive match IDs from Valve and start downloading the demos in the background. Matches appear in your history as they complete.

Code Expiry and Regeneration

Steam Game Auth Codes are valid for approximately 24 hours. After that, syncing will stop working and you'll see a "no matches found" or auth error message.

To regenerate: return to the Steam auth code page, click Create Authentication Code again, and paste the new code into the Sync dialog. You only need to sign in with Steam once — the code is the only thing that needs refreshing.

Why Is a Code Needed?

Valve's match history API requires an authentication token to identify which account's matches to fetch. This is separate from your Steam login — it's a scoped, temporary token that Valve issues specifically for CS2 match history lookups.

CS2 Replays sends this code directly to Valve's servers to retrieve your match IDs. The code is not stored on our servers — it lives only in your browser's localStorage.

Privacy Setting Requirement

For match sync to work, your CS2 game details must be set to public in your Steam privacy settings. To check:

If your game details are private, Valve's API returns no match data regardless of the auth code.

Troubleshooting

More questions? See the Steam Sync section of the FAQ or email [email protected].