- Updated auth tests to use environment variables for credentials - Tests now validate full OAuth redirect to Bluesky - Added proper error checking for missing test credentials - Updated .example.env with test credential placeholders - All 3 auth tests passing (login page, error handling, OAuth redirect) - OAuth successfully redirects to bsky.social/oauth (localhost limitation noted) Note: Full E2E login requires public URL (ngrok) as Bluesky rejects localhost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
810 B
Bash
27 lines
810 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_AI_API_KEY=your-google-ai-api-key
|
|
|
|
# Deepgram API Key (for voice-to-text)
|
|
DEEPGRAM_API_KEY=your-deepgram-api-key
|
|
|
|
# Bluesky/ATproto OAuth Configuration
|
|
BLUESKY_CLIENT_ID=http://localhost:3000/client-metadata.json
|
|
BLUESKY_REDIRECT_URI=http://localhost:3000/api/auth/callback
|
|
|
|
# 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
|