Sean Pedrick-Case commited on
Commit
b1b0e04
·
unverified ·
1 Parent(s): c9e23cb

Removed some placeholder values

Browse files
Files changed (1) hide show
  1. tools/auth.py +4 -4
tools/auth.py CHANGED
@@ -6,13 +6,13 @@ import hashlib
6
  import base64
7
  from tools.helper_functions import get_or_create_env_var
8
 
9
- client_id = get_or_create_env_var('AWS_CLIENT_ID', '3qs30degqvip8ade8iv44c4edf')
10
  print(f'The value of AWS_CLIENT_ID is {client_id}')
11
 
12
- client_secret = get_or_create_env_var('AWS_CLIENT_SECRET', 'cvgd27dihp88jktc71lmjaq2kgntjdkt6703m63mdfjv9j58mqo')
13
  print(f'The value of AWS_CLIENT_SECRET is {client_secret}')
14
 
15
- user_pool_id = get_or_create_env_var('AWS_USER_POOL_ID', 'eu-west-2_7Jhnih7D1')
16
  print(f'The value of AWS_USER_POOL_ID is {user_pool_id}')
17
 
18
  def calculate_secret_hash(client_id, client_secret, username):
@@ -77,4 +77,4 @@ def authenticate_user(username:str, password:str, user_pool_id:str=user_pool_id,
77
  return False
78
  except Exception as e:
79
  print(f"An error occurred: {e}")
80
- return False
 
6
  import base64
7
  from tools.helper_functions import get_or_create_env_var
8
 
9
+ client_id = get_or_create_env_var('AWS_CLIENT_ID', '')
10
  print(f'The value of AWS_CLIENT_ID is {client_id}')
11
 
12
+ client_secret = get_or_create_env_var('AWS_CLIENT_SECRET', '')
13
  print(f'The value of AWS_CLIENT_SECRET is {client_secret}')
14
 
15
+ user_pool_id = get_or_create_env_var('AWS_USER_POOL_ID', '')
16
  print(f'The value of AWS_USER_POOL_ID is {user_pool_id}')
17
 
18
  def calculate_secret_hash(client_id, client_secret, username):
 
77
  return False
78
  except Exception as e:
79
  print(f"An error occurred: {e}")
80
+ return False