LMDpro / .env.local
PetraAI's picture
Upload 27 files
ead5909 verified
# LMDpro Environment Variables
# Google AI API Key (required for AI features)
GOOGLE_API_KEY=AIzaSyBJl6yu60u7fW9WuhnmY9vaMq5e9zCo7XI
GEMINI_API_KEY=AIzaSyBJl6yu60u7fW9WuhnmY9vaMq5e9zCo7XI
# Google OAuth Configuration
GOOGLE_CLIENT_ID=1056744449246-aj5vl76h8ojncglo85pe5jpu31788etq.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
# NextAuth Configuration
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=lmdpro-nextauth-secret-2024-production-ready-key-12345
# Google OAuth Redirect URIs (IMPORTANT: add these EXACT URLs to Google Console)
# Go to https://console.cloud.google.com/apis/credentials
# Edit your OAuth 2.0 Client ID and add these to "Authorized redirect URIs":
# Development: http://localhost:3000/api/auth/callback/google
# Production: https://yourdomain.com/api/auth/callback/google
#
# If you get "redirect_uri_mismatch" error:
# 1. Check that the redirect URI is EXACTLY as shown above
# 2. Make sure there are no trailing slashes
# 3. Verify the protocol (http for local, https for production)
# 4. Wait a few minutes after adding the URI to Google Console
# Site URL for local development
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Node Environment
NODE_ENV=development
# Performance optimizations
NEXT_TELEMETRY_DISABLED=1