-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.env.example
More file actions
27 lines (20 loc) · 963 Bytes
/
.env.example
File metadata and controls
27 lines (20 loc) · 963 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
# App Mode: "self-hosted" or "valyu"
# - self-hosted: Uses VALYU_API_KEY for all requests (no user auth required)
# - valyu: Requires OAuth authentication, uses user's Valyu credits
NEXT_PUBLIC_APP_MODE=self-hosted
# Valyu API Key (required for self-hosted mode)
# Get your API key at https://valyu.ai
VALYU_API_KEY=your_valyu_api_key_here
# ============================================
# OAuth Configuration (required for valyu mode)
# ============================================
# Valyu OAuth Client ID
NEXT_PUBLIC_VALYU_CLIENT_ID=your_client_id_here
# Valyu OAuth Client Secret (server-side only)
VALYU_CLIENT_SECRET=your_client_secret_here
# Valyu Auth URL (OAuth authorization server)
NEXT_PUBLIC_VALYU_AUTH_URL=https://auth.valyu.ai
# Valyu Platform URL (for user info and proxy)
VALYU_APP_URL=https://platform.valyu.ai
# OAuth Redirect URI (must match your registered callback URL)
NEXT_PUBLIC_REDIRECT_URI=http://localhost:3000/auth/valyu/callback