-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env
More file actions
56 lines (50 loc) · 1.72 KB
/
Copy path.env
File metadata and controls
56 lines (50 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -----------------------------------------------------------------------------
# Environment configuration for Better Auth plugin development.
#
# This file is committed to Git and provides default / example values.
# Do NOT put secrets here for production.
#
# To override any variable locally (e.g. on your machine), create a `.env.local`
# file in the project root. That file is git-ignored and will override values
# from this file without being committed.
#
# Precedence (highest wins):
# 1. Process env (export VAR=... before running)
# 2. .env.local (untracked, machine-specific overrides)
# 3. .env (this file, shared defaults)
# -----------------------------------------------------------------------------
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/better_auth
# Better Auth
# Regenerate secret with: openssl rand -hex 32
BETTER_AUTH_SECRET=example-dev-secret-replace-with-real-32char-key
BETTER_AUTH_TELEMETRY=0
# Enable/disable individual plugins (1 = enabled, 0 = disabled)
BETTER_AUTH_STORAGE=0
BETTER_AUTH_FEATURE_FLAGS=1
BETTER_AUTH_ORGANIZATIONS=0
BETTER_AUTH_CONNECT=0
BETTER_AUTH_ANALYTICS=0
BETTER_AUTH_AUDIT_LOG=0
BETTER_AUTH_RATE_LIMIT=0
BETTER_AUTH_WEBHOOKS=0
BETTER_AUTH_NOTIFICATIONS=0
BETTER_AUTH_IMPERSONATION=0
BETTER_AUTH_MCP=0
BETTER_AUTH_CONSENT=0
BETTER_AUTH_ONBOARDING=0
BETTER_AUTH_SESSION_MANAGEMENT=0
BETTER_AUTH_SUBSCRIPTION=0
BETTER_AUTH_BACKUP_CODES=0
BETTER_AUTH_FRAUD_DETECTION=0
BETTER_AUTH_ABUSE_DETECTION=0
BETTER_AUTH_COMPLIANCE=0
# Optional: Google OAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Optional: Google Drive Storage
GOOGLE_DRIVE_CLIENT_ID=
GOOGLE_DRIVE_CLIENT_SECRET=
# Optional: OneDrive Storage
ONEDRIVE_CLIENT_ID=
ONEDRIVE_CLIENT_SECRET=