fix(infra): local compose parity + host-browser OIDC (closes #91) #92
Reference in New Issue
Block a user
Delete Branch "fix/91-local-compose-parity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Closes #91.
infra/docker-compose.local.yml(the no-make local stack) was missing thedomainservice and all three portals, and never wired host-browser OIDC — so browsing the behandel portal redirected tohttp://keycloak:8080/…, which a host browser can't resolve.domain,self-service,openbaar,behandel(local now matches the CI-canonicaldocker-compose.ymlservice-for-service).http://localhost:8180(KC_HOSTNAME) withKC_HOSTNAME_BACKCHANNEL_DYNAMIC=true, so a host browser logs in onlocalhost:8180while the BFF still validates in-network viakeycloak:8080.localhost:8180config.jsonover the image's bakedkeycloak:8080one (infra/local-config/*). openbaar is anonymous, no config.How verified
docker compose -f infra/docker-compose.local.yml configvalid; parity check shows nothing missing.localhost:8180):issuer+ all endpoints onlocalhost:8180(what the browser uses).keycloak:8080):issuerstayshttp://localhost:8180/...(matches browser tokens) whilejwks_uri/token_endpointresolve tokeycloak:8080(reachable by the BFF).Notes for reviewers
docs/synthetic-data.md.resolver 127.0.0.11) may 502 (a separate known podman-vs-docker DNS quirk); login is a browser redirect and is unaffected. Works on Docker Desktop.docker-compose.yml(CI-canonical) is untouched.