25 lines
928 B
Bash
25 lines
928 B
Bash
# Copy to ".env" and fill in. Bun auto-loads .env.
|
|
# You only need to configure the provider(s) you want — the login screen
|
|
# shows just the ones with both an ID and secret set.
|
|
|
|
# Public base URL of this app (used to build OAuth redirect URIs).
|
|
# Must match what you register in the OAuth app settings.
|
|
BASE_URL=http://localhost:3000
|
|
|
|
# --- GitHub OAuth ---
|
|
# Create one at: https://github.com/settings/developers -> "New OAuth App"
|
|
# Homepage URL: http://localhost:3000
|
|
# Authorization callback URL: http://localhost:3000/auth/github/callback
|
|
GITHUB_CLIENT_ID=
|
|
GITHUB_CLIENT_SECRET=
|
|
|
|
# --- Google OAuth ---
|
|
# Create credentials at: https://console.cloud.google.com/apis/credentials
|
|
# Application type: Web application
|
|
# Authorized redirect URI: http://localhost:3000/auth/google/callback
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
# Optional: change the port (defaults to 3000)
|
|
# PORT=3000
|