From 3c59a60152fa332299a874528c420184233baad7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Dec 2023 23:18:10 +0100 Subject: [PATCH] fix channel creation 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 3d7679eb0..b68442c6d 100644 --- a/authentik/stages/authenticator_mobile/cloud_gateway.py +++ b/authentik/stages/authenticator_mobile/cloud_gateway.py @@ -72,6 +72,6 @@ def get_client(addr: str): channel = secure_channel(addr, ssl_channel_credentials()) if settings.DEBUG: channel = insecure_channel(addr) - channel = intercept_channel(addr, AuthInterceptor(get_enterprise_token())) + channel = intercept_channel(channel, AuthInterceptor(get_enterprise_token())) client = AuthenticationPushStub(channel) return client