Some checks failed
CI/CD — Build & Deploy / Build & Deploy (push) Failing after 25s
- Frontend: PKCE flow (oauth.js, api.js centralized, cookie-based AuthContext) - Backend: token introspection, cookies httpOnly, refresh endpoint - Replaced localStorage JWT with httpOnly session cookies - useSaveSync migrated to cookie auth - cookie-parser added - Gitea CI workflow (vps-runner pattern)
23 lines
543 B
Plaintext
Executable File
23 lines
543 B
Plaintext
Executable File
# .env.sample - Sample Environment Variables
|
|
|
|
# Application Configuration
|
|
APP_PORT=3310
|
|
APP_SECRET=YOUR_APP_SECRET_KEY
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=YOUR_DATABASE_USERNAME
|
|
DB_PASSWORD=YOUR_DATABASE_PASSWORD
|
|
DB_NAME=YOUR_DATABASE_NAME
|
|
|
|
# Frontend URL (for CORS configuration)
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# SuperOAuth — service externe d'authentification (introspection, pas de secret JWT)
|
|
SUPER_OAUTH_URL=https://superoauth.tetardtek.com
|
|
|
|
# Cookie signing secret
|
|
COOKIE_SECRET=
|