Files
app/.example.env
Albert aae225d442 feat: Make OAuth configuration environment-aware via NEXT_PUBLIC_APP_URL
- Convert client-metadata.json to dynamic API route reading from env vars
- Remove BLUESKY_CLIENT_ID and BLUESKY_REDIRECT_URI env vars
- All OAuth URLs now derived from NEXT_PUBLIC_APP_URL
- Implement production OAuth client (removes TODO/placeholder)
- Update .prod.env with production settings for www.ponderants.com
- Use https:// for production URLs
- Simplify environment configuration (single source of truth)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 15:08:04 +00:00

29 lines
925 B
Bash

# SurrealDB Configuration
SURREALDB_URL=ws://localhost:8000/rpc
SURREALDB_NS=ponderants
SURREALDB_DB=main
SURREALDB_USER=root
SURREALDB_PASS=root
# JWT Secret for SurrealDB token minting
SURREALDB_JWT_SECRET=your-secret-key-here-change-in-production
# Google AI API Key (for Gemini embeddings and chat)
GOOGLE_GENERATIVE_AI_API_KEY=your-google-ai-api-key
GOOGLE_AI_MODEL=gemini-pro-latest
# Deepgram API Key (for voice-to-text)
DEEPGRAM_API_KEY=your-deepgram-api-key
# Application URL (used for OAuth callbacks and client metadata)
# In development, defaults to http://localhost:3000
# In production, set to your domain (e.g., https://www.ponderants.com)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Test Account Credentials (for E2E tests)
TEST_BLUESKY_HANDLE=your-test-bluesky-handle
TEST_BLUESKY_PASSWORD=your-test-bluesky-password
# Anthropic API Key (for Magnitude testing)
ANTHROPIC_API_KEY=your-anthropic-api-key