Google OAuth 2.0
Create Google Cloud Project
Go to Google Cloud Console and create a new project (or select existing).
Enable OAuth Consent Screen
Navigate to APIs & Services > OAuth consent screen. Configure the consent screen with your app name and authorized domains.
Create Credentials
Go to APIs & Services > Credentials and click Create Credentials > OAuth 2.0 Client ID.
- Application type: Web application
- Authorized redirect URI:
{BASE_URL}/api/v1/auth/google/callback
GitHub OAuth 2.0
Register OAuth App
Go to GitHub Developer Settings > OAuth Apps and click New OAuth App.
Configure App
- Application name: Tracera
- Homepage URL: Your
BASE_URL - Authorization callback URL:
{BASE_URL}/api/v1/auth/github/callback
Steam OpenID 2.0
Get API Key
Register for a Steam Web API key at Steam Developer.Set the domain to your application’s domain.
Steam uses OpenID 2.0, not OAuth 2.0. No client ID or secret is needed — just the API key for fetching player profiles after authentication.
Testing Locally
For local development, setBASE_URL=http://localhost:8080 and configure callback URLs accordingly:
| Provider | Callback URL |
|---|---|
http://localhost:8080/api/v1/auth/google/callback | |
| GitHub | http://localhost:8080/api/v1/auth/github/callback |
| Steam | Uses BASE_URL automatically |