From 49eddd0b75b5a58a42b43e7e4ac595152d9ebc2b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Dec 2023 21:34:21 +0100 Subject: [PATCH] fix incorrect usage of ssl_channel_credentials Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_mobile/cloud_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/authenticator_mobile/cloud_gateway.py b/authentik/stages/authenticator_mobile/cloud_gateway.py index 0024d899d..3d7679eb0 100644 --- a/authentik/stages/authenticator_mobile/cloud_gateway.py +++ b/authentik/stages/authenticator_mobile/cloud_gateway.py @@ -69,7 +69,7 @@ def get_enterprise_token() -> str: @lru_cache() def get_client(addr: str): """get a cached client to a cloud-gateway""" - channel = secure_channel(addr, ssl_channel_credentials) + channel = secure_channel(addr, ssl_channel_credentials()) if settings.DEBUG: channel = insecure_channel(addr) channel = intercept_channel(addr, AuthInterceptor(get_enterprise_token()))