forked from shurrey/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 947 Bytes
/
.env.example
File metadata and controls
27 lines (22 loc) · 947 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
# Box App Configuration for Demo Token Service
# Copy this to .env and fill in your Box app credentials
# Box Application Credentials
BOX_CLIENT_ID=your_box_app_client_id
BOX_CLIENT_SECRET=your_box_app_client_secret
# Box JWT Configuration (for server-to-server apps)
BOX_KEY_ID=your_box_app_key_id
BOX_PRIVATE_KEY="-----BEGIN ENCRYPTED PRIVATE KEY-----\nyour_private_key_here\n-----END ENCRYPTED PRIVATE KEY-----"
BOX_PASSPHRASE=your_private_key_passphrase
BOX_ENTERPRISE_ID=your_box_enterprise_id
# Alternative: Box OAuth2 Configuration (for user-based apps)
# BOX_REDIRECT_URI=http://localhost:3000/auth/callback
# BOX_ACCESS_TOKEN=your_access_token_here
# Demo Files Configuration
# Update these with your actual demo file IDs
DEMO_FILE_PDF=123456789
DEMO_FILE_DOC=234567890
DEMO_FILE_IMAGE=345678901
DEMO_FILE_VIDEO=456789012
# Security Configuration
TOKEN_DURATION_SECONDS=3600
ALLOWED_ORIGINS=http://localhost:3000,https://yourdocs.com