From 1198d41fdf7cadae7e8ac7fc8e2a9a0da1827305 Mon Sep 17 00:00:00 2001 From: Giovanni Pellerano Date: Sat, 23 Nov 2024 14:58:24 +0100 Subject: [PATCH] Add variables for enabling/disabling and configure the IDP connector (#4107) --- backend/globaleaks/models/config_desc.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/globaleaks/models/config_desc.py b/backend/globaleaks/models/config_desc.py index 74f585f322..2f50da379e 100644 --- a/backend/globaleaks/models/config_desc.py +++ b/backend/globaleaks/models/config_desc.py @@ -71,6 +71,13 @@ class Bool(Item): 'https_selfsigned_key': Unicode(), 'https_selfsigned_cert': Unicode(), 'https_whistleblower': Bool(default=True), + 'idp': Bool(default=False), + 'idp_issuer': Unicode(default=''), + 'idp_redirectUri': Unicode(default=''), + 'idp_clientId': Unicode(default=''), + 'idp_responseType': Unicode(default=''), + 'idp_responseType': Unicode(default=''), + 'idp_scope': Unicode(default='code'), 'ip_filter_admin': Unicode(default=''), 'ip_filter_admin_enable': Bool(default=False), 'ip_filter_analyst': Unicode(default=''),