Anexo76 debe tener su propio cliente en Keycloak (no compartir hub-frontend). Misma sesión SSO para el usuario, pero cliente separado por app. El cliente anexo76-frontend debe crearse en Keycloak con: - Valid redirect URIs: https://anexo76-dev.aduanasoft.com/* - Web origins: https://anexo76-dev.aduanasoft.com Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
# ─── Copia este archivo a .env y ajusta los valores para dev local ─────────────
|
|
|
|
# API de Anexo76 (frontend y SSR)
|
|
VITE_API_URL=http://localhost:8000/api/
|
|
INTERNAL_API_URL=http://localhost:8000/api/
|
|
|
|
# Hub Workspace
|
|
VITE_HUB_URL=http://localhost:3001
|
|
HUB_URL=http://localhost:3001
|
|
INTERNAL_HUB_URL=http://localhost:8001
|
|
|
|
# Keycloak
|
|
VITE_KEYCLOAK_URL=http://localhost:8085/kcauth
|
|
VITE_KEYCLOAK_REALM=master
|
|
VITE_KEYCLOAK_CLIENT_ID=anexo76-frontend
|
|
KEYCLOAK_URL=http://localhost:8085/kcauth
|
|
KEYCLOAK_REALM=master
|
|
KEYCLOAK_CLIENT_ID=anexo76-frontend
|
|
# KEYCLOAK_CLIENT_SECRET= # solo si el cliente KC no es público
|
|
|
|
# SvelteKit — necesario para cookies secure y URLs SSR correctas
|
|
ORIGIN=http://localhost:5173
|