This commit is contained in:
2026-04-20 14:05:17 -07:00
parent f14c90e05a
commit 26716b7b2b
7 changed files with 162 additions and 11 deletions

15
.env.example Normal file
View File

@@ -0,0 +1,15 @@
# OAuth2 Proxy Configuration
# Copy this file to .env and fill in your values
# GitHub OAuth credentials
# Get these from: GitHub → Settings → Developer settings → OAuth Apps
GITHUB_CLIENT_ID=your-github-client-id-here
GITHUB_CLIENT_SECRET=your-github-client-secret-here
# Cookie secret - generate with: openssl rand -base64 24
OAUTH2_PROXY_COOKIE_SECRET=your-cookie-secret-here
# Example (do not use these):
# GITHUB_CLIENT_ID=Iv1.abc123xyz789
# GITHUB_CLIENT_SECRET=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
# OAUTH2_PROXY_COOKIE_SECRET=XOtjj+hRLbjkdzz1BAchBcUd/hR6WSt0