- Add Google OAuth Client ID: 546665126481-itnlvt22hjn6t0bbgua0aj55h6dpplsk.apps.googleusercontent.com - Add Facebook App ID: 836681122652445 - Configure environment files for dev, preprod, and production - Update Jenkinsfile to pass NEXT_PUBLIC_* env vars as Docker build args - Update .gitignore to allow environment-specific files while protecting .env.local OAuth Configuration: - Google: Configured for dev.dsp5-archi-o24a-15m-g3.fr, preprod, and production domains - Facebook: Configured with App ID 836681122652445 - All authorized redirect URIs configured in Google Console - All domains configured in Facebook App settings This enables social login functionality across all environments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
771 B
Plaintext
27 lines
771 B
Plaintext
# Environment Configuration Example
|
|
# Copiez ce fichier en .env.local et remplissez les valeurs
|
|
|
|
# Environment
|
|
NODE_ENV=development
|
|
|
|
# API Backend URL
|
|
# Development: http://localhost:4000/api
|
|
# Production: https://api.dev.dsp5-archi-o24a-15m-g3.fr/api
|
|
NEXT_PUBLIC_API_URL=http://localhost:4000/api
|
|
|
|
# Frontend URL
|
|
# Development: http://localhost:3000
|
|
# Production: https://dev.dsp5-archi-o24a-15m-g3.fr
|
|
NEXT_PUBLIC_FRONTEND_URL=http://localhost:3000
|
|
|
|
# NextAuth Configuration
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
NEXTAUTH_SECRET=your-secret-key-change-this
|
|
|
|
# OAuth Providers (optionnel)
|
|
# Note: Les variables préfixées avec NEXT_PUBLIC_ sont accessibles côté client
|
|
NEXT_PUBLIC_GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
NEXT_PUBLIC_FACEBOOK_APP_ID=
|
|
FACEBOOK_APP_SECRET=
|