From 127d81adac14456084ed82ade3ede3aa0a910f2a Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 16 May 2025 13:22:10 -0500 Subject: [PATCH] Switch to cognito user/password authentication. Major code refactor - Fix 3 --- infrastructure/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/stack.py b/infrastructure/stack.py index dcc4139..468bbe5 100644 --- a/infrastructure/stack.py +++ b/infrastructure/stack.py @@ -153,7 +153,7 @@ class IptvUpdaterStack(Stack): userdata.add_commands( f'echo "COGNITO_USER_POOL_ID={user_pool.user_pool_id}" >> /etc/environment', f'echo "COGNITO_CLIENT_ID={client.user_pool_client_id}" >> /etc/environment', - f'echo "COGNITO_CLIENT_SECRET={client.user_pool_client_secret}" >> /etc/environment' + f'echo "COGNITO_CLIENT_SECRET={client.user_pool_client_secret.plain_text}" >> /etc/environment' ) userdata.add_commands(str(userdata_file, 'utf-8'))