fix: add VITE_OIDC_REDIRECT_URI and build args for frontend

- Add VITE_OIDC_REDIRECT_URI to .env.example and docker-compose files
- Pass OIDC variables as build args in Dockerfile (build-time only)
- Update both docker-compose.prod.yml and docker-compose.traefik.yml
- Fixes undefined OIDC variables causing 404 on login redirect
This commit is contained in:
2026-05-16 13:14:09 +00:00
parent be2cb09dad
commit 44e2ae60ef
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ TOOL_SUBDOMAIN_PATTERN={tool}-{project}-{user}.tools.localhost
VITE_API_URL=http://localhost:8000
VITE_OIDC_ISSUER=https://auth.example.com/application/o/headquarter/
VITE_OIDC_CLIENT_ID=your-client-id
VITE_OIDC_REDIRECT_URI=https://headquarter.commumedia.org/callback
# Secrets (generate strong random values for production)
SECRET_ENCRYPTION_KEY=change-me-in-production