aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorJohn Nduli2024-07-31 11:21:34 +0300
committerBonfaceKilz2024-09-17 11:37:43 +0300
commitb09faa4b5055fd773891ed819f0503165167892e (patch)
treea946e8c34d3ade795c7be5f9580af724fa18accf /gn2
parent0fc120b55fc87252581ccb8d873ae6557bfa92c9 (diff)
downloadgenenetwork2-b09faa4b5055fd773891ed819f0503165167892e.tar.gz
docs: add missing keys to default_settings for gn_auth to work
Diffstat (limited to 'gn2')
-rw-r--r--gn2/default_settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gn2/default_settings.py b/gn2/default_settings.py
index 68a11e44..ae22d718 100644
--- a/gn2/default_settings.py
+++ b/gn2/default_settings.py
@@ -42,7 +42,7 @@ GN_PROXY_URL="https://genenetwork.org/gn3-proxy/"
SQL_URI = "mysql://gn2:mysql_password@localhost/db_webqtl_s"
SQL_ALCHEMY_POOL_RECYCLE = 3600
GN_SERVER_URL = "http://localhost:8880/api/" # REST API server
-AUTH_SERVER_URL="http://localhost:9094/"
+AUTH_SERVER_URL="http://localhost:8081/"
GN2_BASE_URL = "http://genenetwork.org/" # to pick up REST API
GN2_BRANCH_URL = GN2_BASE_URL
@@ -116,6 +116,8 @@ CORRELATION_COMMAND = os.environ["GN2_PROFILE"] + "/bin/correlation_rust"
OAUTH2_CLIENT_ID="0bbfca82-d73f-4bd4-a140-5ae7abb4a64d"
OAUTH2_CLIENT_SECRET="yadabadaboo"
+AUTH_SERVER_SSL_PUBLIC_KEY = "/absolute/path/to/ssl_public_key.pem"
+SSL_PRIVATE_KEY = "/absolute/path/to/ssl-private-key.pem"
SESSION_TYPE = "redis"
SESSION_PERMANENT = True