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"),