docs.sivert.io
Developers

Auth provider examples

Example env var configuration for Steam, Keycloak, Discord, and GitHub.

This page shows example environment variable setups for supported authentication providers.

Steam

AUTH_STEAM_ENABLED=true
STEAM_API_KEY=your-steam-web-api-key
FRONTEND_BASE_URL=http://localhost:3069

Keycloak (OIDC)

AUTH_KEYCLOAK_ENABLED=true
KEYCLOAK_ISSUER_URL=https://sso.example.com/realms/matchzy
KEYCLOAK_CLIENT_ID=matchzy-dashboard
KEYCLOAK_CLIENT_SECRET=your-super-secret-value
FRONTEND_BASE_URL=http://localhost:3069

Discord (OAuth2)

AUTH_DISCORD_ENABLED=true
DISCORD_CLIENT_ID=123456789012345678
DISCORD_CLIENT_SECRET=your-discord-client-secret
FRONTEND_BASE_URL=http://localhost:3069

GitHub (OAuth2)

AUTH_GITHUB_ENABLED=true
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
FRONTEND_BASE_URL=http://localhost:3069

How is this guide?

Last updated on

On this page