mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm
This commit is contained in:
@@ -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.
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user