diff --git a/control_panel_api/tools.py b/control_panel_api/tools.py index a0b597fe6..1cbd6ffc2 100644 --- a/control_panel_api/tools.py +++ b/control_panel_api/tools.py @@ -123,6 +123,11 @@ def deploy_params(self, user): class Airflow(BaseTool): name = 'airflow-sqlite' + def _get_auth_client_config(self, key): + setting_key = sanitize_environment_variable( + f'AIRFLOW_AUTH_CLIENT_{key}') + return getattr(settings, setting_key.upper()) + def deploy_params(self, user): auth_proxy_cookie_secret = secrets.token_hex(32)