mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-04 12:32:58 +00:00
27 lines
774 B
Bash
27 lines
774 B
Bash
# OAuth Service Configuration
|
|
OAUTH_SERVICE_PORT=9090
|
|
OAUTH_GIN_MODE=debug
|
|
OAUTH_CORS_ALLOWED_ORIGINS=*
|
|
|
|
# GitHub OAuth Configuration
|
|
GITHUB_CLIENT_ID=your_github_client_id
|
|
GITHUB_CLIENT_SECRET=your_github_client_secret
|
|
GITHUB_REDIRECT_URL=http://localhost:9090/auth/github/callback
|
|
|
|
# Production URLs (update these for your deployment)
|
|
DEFAULT_CLIENT_URL=https://yourdomain.com
|
|
SERVICE_DOMAIN=https://oauth.yourdomain.com
|
|
|
|
# JWT Configuration for OAuth Service
|
|
OAUTH_JWT_SECRET=your_oauth_jwt_secret_here
|
|
OAUTH_JWT_EXPIRES_IN=24h
|
|
|
|
# Database Configuration (if using separate database for OAuth)
|
|
OAUTH_DB_TYPE=postgres
|
|
OAUTH_DB_HOST=localhost
|
|
OAUTH_DB_PORT=5432
|
|
OAUTH_DB_USER=oauth_user
|
|
OAUTH_DB_PASSWORD=your_oauth_password
|
|
OAUTH_DB_NAME=oauth_db
|
|
OAUTH_DB_SSL_MODE=disable
|