From 7aea32d59cc2342bbb77bc6c5fe6ba68ca1b4dd4 Mon Sep 17 00:00:00 2001 From: Kerim Atilgan Date: Sun, 27 Sep 2026 12:21:10 +0200 Subject: [PATCH] =?UTF-8?q?Setup-Skript:=20R=C3=BCcksprung=20nach=20dem=20?= =?UTF-8?q?Abmelden=20als=20Redirect-URI=20registrieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- scripts/authentik-setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/authentik-setup.py b/scripts/authentik-setup.py index be710ac..0f44565 100644 --- a/scripts/authentik-setup.py +++ b/scripts/authentik-setup.py @@ -118,7 +118,11 @@ def ensure_portal_app(apps): "authorization_flow": template["authorization_flow"], "invalidation_flow": template["invalidation_flow"], "client_type": "confidential", - "redirect_uris": [{"matching_mode": "strict", "url": f"{PORTAL_URL}/auth/callback"}], + "redirect_uris": [ + {"matching_mode": "strict", "url": f"{PORTAL_URL}/auth/callback"}, + # Rücksprung nach dem Abmelden (post_logout_redirect_uri) + {"matching_mode": "strict", "url": f"{PORTAL_URL}/"}, + ], "property_mappings": template["property_mappings"], "signing_key": template.get("signing_key"), "sub_mode": template.get("sub_mode", "hashed_user_id"),