chore: update ENV.md for NextAuth URL configuration, remove debug logging from middleware, and adjust session token handling in auth middleware

This commit is contained in:
Julien Froidefond
2025-10-16 23:56:46 +02:00
parent 57a1cb5e46
commit 2c850d1c59
4 changed files with 9 additions and 19 deletions

5
ENV.md
View File

@@ -9,7 +9,10 @@ MONGODB_URI=mongodb://admin:your-secure-password@mongodb:27017/stripstream?authS
# NextAuth Configuration
NEXTAUTH_SECRET=your-secret-key-here-generate-with-openssl-rand-base64-32
NEXTAUTH_URL=http://localhost:3020
# Si derrière un reverse proxy HTTPS, utiliser l'URL HTTPS publique :
NEXTAUTH_URL=https://ton-domaine.com
# Sinon en local :
# NEXTAUTH_URL=http://localhost:3020
# Admin User (optional - default password for julienfroidefond@gmail.com)
ADMIN_DEFAULT_PASSWORD=Admin@2025