aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-09-07 14:20:03 +0300
committerFrederick Muriuki Muriithi2023-10-26 05:00:30 +0300
commit0446038739dc01924eb87809828e47bfebac19b1 (patch)
tree90f49e74c00fa8b26352e491acf7c29be0bb2559 /wqflask/utility
parentb00a4e42e9f4b0b857c100812ea4d30b32f738cb (diff)
downloadgenenetwork2-0446038739dc01924eb87809828e47bfebac19b1.tar.gz
Use auth-server for authentication
Authenticate with the Auth-server (gn-auth) to get the token to use on the API server (GN3).
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 0d1357b9..283b0408 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -282,6 +282,7 @@ WEBSERVER_MODE = get_setting('WEBSERVER_MODE')
GN2_BASE_URL = get_setting('GN2_BASE_URL')
GN2_BRANCH_URL = get_setting('GN2_BRANCH_URL')
GN_SERVER_URL = get_setting('GN_SERVER_URL')
+AUTH_SERVER_URL = get_setting('AUTH_SERVER_URL')
GN_PROXY_URL = get_setting('GN_PROXY_URL')
GN3_LOCAL_URL = get_setting('GN3_LOCAL_URL')
SERVER_PORT = get_setting_int('SERVER_PORT')