Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm

This commit is contained in:
2025-07-24 03:19:16 +02:00
parent f5213fd59c
commit f62355e490
129 changed files with 515 additions and 319 deletions

View File

@@ -18,7 +18,7 @@ It solves the common challenge of logging a user out from all connected apps wit
## Features
- Automatic discovery of logout domains from applications with the `features.universal_logout` flag enabled.
- Automatic discovery of logout domains from applications with the `features.logout` flag enabled.
- Centralized logout proxy that clears cookies and sessions across all configured subdomains.
- Status page with live feedback on logout progress for each domain.
- Built-in support for Docker Compose deployment and integration with the CyMaIS ecosystem.

View File

@@ -6,7 +6,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..',
from module_utils.config_utils import get_app_conf
class FilterModule(object):
"""Ansible filter plugin for generating logout domains based on universal_logout feature."""
"""Ansible filter plugin for generating logout domains based on logout feature."""
def filters(self):
return {
@@ -15,7 +15,7 @@ class FilterModule(object):
def logout_domains(self, applications, group_names):
"""
Return a list of domains for applications where features.universal_logout is true.
Return a list of domains for applications where features.logout is true.
:param applications: dict of application configs
:param group_names: list of application IDs to consider
@@ -27,7 +27,7 @@ class FilterModule(object):
if app_id not in group_names:
continue
if not get_app_conf(applications, app_id, 'features.universal_logout', False):
if not get_app_conf(applications, app_id, 'features.logout', False):
continue
# use canonical domains list if present