From c2e8e9f7be9cb479a02067df28c28db22a1476d8 Mon Sep 17 00:00:00 2001 From: spektr Date: Mon, 30 Nov 2026 13:45:52 +0100 Subject: [PATCH] =?UTF-8?q?GNAI-025:=20FLUXER=5FSSO=5FALLOW=5FPRIVATE=5FAD?= =?UTF-8?q?DRESSES=3Dtrue=20=E2=80=94=20SSO-Complete=20hing=20an=20der=20S?= =?UTF-8?q?SRF-Egress-Policy=20(Operator-Befund)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../ansible/roles/fluxer_stack/templates/fluxer.env.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/templates/fluxer.env.j2 b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/templates/fluxer.env.j2 index 9dafa96..fa5c591 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/templates/fluxer.env.j2 +++ b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/templates/fluxer.env.j2 @@ -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