Steam
Turn on Sign in with Steam.
Steam is the main sign-in method. Players and admins are stored by Steam ID, and the other providers link to a Steam account. Set up Steam first.
Get a Steam Web API key
- Open the Steam Web API key page and sign in with Steam.
- In Domain Name, enter the domain of your install, for example
tournament.example.com. Steam does not check it, solocalhostalso works. - Tick the box to agree to the Steam Web API Terms of Use.
- Click Register.
- Copy the Key.
Steam does not give keys to limited accounts. An account is limited until it has spent at least 5 USD in the Steam store.
Check the return address
You do not register a redirect URL at Steam. Auto Tournament sends Steam the return address itself:
FRONTEND_BASE_URL/api/auth/steam/callbackFor example https://tournament.example.com/api/auth/steam/callback. Make sure FRONTEND_BASE_URL in .env is the address you open in the browser.
Add the key to .env
AUTH_STEAM_ENABLED=true
STEAM_API_KEY=your-steam-web-api-key
FRONTEND_BASE_URL=https://tournament.example.comAUTH_STEAM_ENABLED is true when it is not set. Set it to false to hide the Steam button.
Restart the app
docker compose up -d --force-recreate matchzy-tournamentTest the button
Open FRONTEND_BASE_URL/login. Click Sign in with Steam and sign in. On a new install, the first Steam user becomes admin and lands on the dashboard. Other users land on their player page.
If the button is missing, the key is empty or Steam rejected it. Auto Tournament checks the key and hides the button when it does not work. Check the key and look at the logs:
docker compose logs matchzy-tournament | grep -i steam