mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-12 20:06:57 +02:00
Add Google, GitHub, and generic OIDC environment variables. Providers are auto-enabled when their env vars are set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
608 B
Bash
25 lines
608 B
Bash
# Database path (relative to project root or absolute)
|
|
DATABASE_URL=./data/crumbs.db
|
|
|
|
# Server origin (required for CSRF protection and OAuth redirect URLs)
|
|
ORIGIN=http://localhost:3000
|
|
|
|
# Node environment
|
|
NODE_ENV=development
|
|
|
|
# --- OAuth Providers (optional, auto-enabled when set) ---
|
|
|
|
# Google OAuth 2.0
|
|
# AUTH_GOOGLE_CLIENT_ID=
|
|
# AUTH_GOOGLE_CLIENT_SECRET=
|
|
|
|
# GitHub OAuth
|
|
# AUTH_GITHUB_CLIENT_ID=
|
|
# AUTH_GITHUB_CLIENT_SECRET=
|
|
|
|
# Generic OIDC (e.g. Authentik, Keycloak, Okta)
|
|
# AUTH_OIDC_ISSUER=https://your-idp.example.com
|
|
# AUTH_OIDC_CLIENT_ID=
|
|
# AUTH_OIDC_CLIENT_SECRET=
|
|
# AUTH_OIDC_DISPLAY_NAME=SSO
|