fix(keycloak): reach the admin api on the internal url #632
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!632
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/keycloak-internal-admin-url"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Refs bitborg/bitborg-web#311, bitborg/bitborg-payment#111.
Why
Sign-up on staging failed with
Keycloak user create failed: HTTP 404. The public Keycloak vhost answers 404 outside/realms/bitborg/*and/resources/*(Caddyfile), so the admin API is not reachable there. Web and billing both pointedKEYCLOAK_URLat the public host.What
keycloak_internal_url:http://keycloak:8080on the shared container network, the same upstream Caddy uses.KEYCLOAK_URLuse it. OIDC stays on the public issuer.Verified
Applied to staging from this branch, reconcile clean. From inside both containers the admin API answers 401 (reachable) instead of 404.
On prod the web container restarts once on the next apply. The pinned image ignores the value.