docs: update env and docker-compose for session-based auth
- Replace JWT config with SESSION_SECRET and SESSION_TTL_HOURS - Remove AUTHENTIK_JWKS_URL, ISSUER, AUDIENCE (no longer needed) - Update docker-compose.traefik.yml environment variables
This commit is contained in:
+3
-7
@@ -6,10 +6,9 @@ POSTGRES_DB=headquarter
|
||||
# Redis Configuration
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=change-me-in-production
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_EXPIRATION_HOURS=24
|
||||
# Session Configuration
|
||||
SESSION_SECRET=change-me-in-production
|
||||
SESSION_TTL_HOURS=24
|
||||
|
||||
# Application Configuration
|
||||
APP_ENV=development
|
||||
@@ -37,9 +36,6 @@ AUTHENTIK_APPLICATION_SLUG=headquarter-web
|
||||
# Override Authentik URLs if they differ from the default pattern
|
||||
# AUTHENTIK_AUTHORIZE_URL=https://authentik.example.com/application/o/authorize/
|
||||
# AUTHENTIK_TOKEN_URL=https://authentik.example.com/application/o/token/
|
||||
# AUTHENTIK_JWKS_URL=https://authentik.example.com/application/o/headquarter-web/jwks/
|
||||
# AUTHENTIK_ISSUER=https://authentik.example.com/application/o/headquarter-web/
|
||||
AUTHENTIK_AUDIENCE=headquarter-web
|
||||
|
||||
# Frontend Configuration
|
||||
VITE_API_BASE_URL=http://localhost:8000
|
||||
|
||||
Reference in New Issue
Block a user