fix(auth): apuntar Keycloak al Workspace como fuente única de autenticación

Backend:
- KEYCLOAK_SERVER_URL: http://keycloak:8080/kcauthhttps://workspace.aduanasoft.com/kcauth
- KEYCLOAK_CLIENT_ID: anexo76-backend → anexo76-frontend

Frontend (runtime):
- VITE_KEYCLOAK_URL: https://anexo76-dev.aduanasoft.com/kcauth/https://workspace.aduanasoft.com/kcauth
- KEYCLOAK_URL: http://keycloak:8080/kcauthhttps://workspace.aduanasoft.com/kcauth
- KEYCLOAK_CLIENT_ID: anexo76-backend → anexo76-frontend

Frontend (build):
- Jenkinsfile: VITE_KEYCLOAK_URL build-arg usa KC_URL en lugar de ${A76_URL}/kcauth/

Red:
- auth-net eliminada del servicio frontend y de la definición de networks
  (solo existía para comunicación con el Keycloak local ya removido)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 12:16:56 -05:00
parent 1bb3808f72
commit 22d66a06a4
2 changed files with 13 additions and 11 deletions

2
Jenkinsfile vendored
View File

@@ -272,7 +272,7 @@ pipeline {
sh """
docker build --progress=plain \
--build-arg VITE_API_URL=\${A76_URL}/api/ \
--build-arg VITE_KEYCLOAK_URL=\${A76_URL}/kcauth/ \
--build-arg VITE_KEYCLOAK_URL=${KC_URL} \
--build-arg VITE_KEYCLOAK_CLIENT_ID=anexo76-frontend \
--build-arg INTERNAL_API_URL=http://backend:3467/api/ \
-t ${IMAGE_FRONTEND}:${env.APP_VERSION} \