-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (31 loc) · 1002 Bytes
/
Copy path.env.example
File metadata and controls
38 lines (31 loc) · 1002 Bytes
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
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=authkit
DB_USER=authkit_user
DB_PASSWORD=authkit_password
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production
JWT_EXPIRES_IN=15m
JWT_EXPIRATION=900
JWT_REFRESH_EXPIRES_IN=7d
# Server Configuration
NODE_ENV=development
PORT=3000
# ⚠️ WARNING: FOR DEMO ONLY - NEVER USE IN PRODUCTION ⚠️
# These are hardcoded demo credentials for development/testing
# Replace with real Google OAuth credentials in production
GOOGLE_CLIENT_ID=AUTHKIT_DEMO_CLIENT_ID
GOOGLE_CLIENT_SECRET=AUTHKIT_DEMO_SECRET
GOOGLE_REDIRECT_URI=http://localhost:3000/api/auth/google/callback
# CORS Configuration
CORS_ORIGIN=http://localhost:3001
# Rate Limiting Configuration
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# Security Configuration
BCRYPT_ROUNDS=12
COOKIE_SECRET=your-super-secret-cookie-key-change-in-production
# Logging
LOG_LEVEL=info