GNAI-025: FLUXER_SSO_ALLOW_PRIVATE_ADDRESSES=true — SSO-Complete hing an der SSRF-Egress-Policy (Operator-Befund)
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 28s
ci-static / markdown-links (push) Successful in 20s

Der SSO-Login scheiterte: POST /api/v1/auth/sso/complete erreichte die api,
diese blockierte aber den Token-/Userinfo-Austausch gegen Keycloak, weil
auth.ghostnet.selfhost.eu auf eine private LAN-Adresse aufgelöst wird und
die Egress-Policy (PublicInternetRequestUrlPolicy, SSRF-Schutz) private
Ziele bei false verweigert. Symptom: Request hängt, Browser gibt auf
(RestClient 'transport gave up'), NPM loggt 499, api loggt nichts (kein
Request-completed). start/discovery liefen (kein Outbound nötig) — daher
schwer einzugrenzen.

.env-Template auf true gestellt (Keycloak ist per Definition privat im
Homelab); site34 deployed und verifiziert (env im Container, Stack 24 Up,
SSO-Status unverändert enabled).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-30 13:45:52 +01:00
parent efde222045
commit c2e8e9f7be
@@ -18,7 +18,11 @@ FLUXER_LIVEKIT_ENABLED={{ 'true' if fluxer_stack_voice_enabled else 'false' }}
# müssen hier (leer) stehen — fehlt die Variable komplett, lässt
# podman-compose 1.3.0 das Literal "${VAR:-}" im Container-Env stehen und
# die api stirbt an "Invalid email app base URL" (site15-Befund):
FLUXER_SSO_ALLOW_PRIVATE_ADDRESSES=false
# true: the SSO provider (Keycloak auth.ghostnet.selfhost.eu) resolves to a
# private LAN address — the api's egress policy (SSRF protection) blocks
# SSO token/userinfo exchanges against private destinations otherwise and the
# /auth/sso/complete request hangs (Operator-Befund 30.11., NPM 499)
FLUXER_SSO_ALLOW_PRIVATE_ADDRESSES=true
FLUXER_DISCOVERY_ENABLED=true
FLUXER_EMAIL_ENABLED=false
FLUXER_EMAIL_PROVIDER=none