aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-01-10 15:05:03 +0300
committerPjotr Prins2018-03-26 09:24:34 +0000
commit121ecdeb9d923e9964969007ac56210fb17e2c4d (patch)
tree2c153d11a7363f60e87be8cab6df54e60e59e2a4 /wqflask/utility
parente67e3a76fca0bad4796853eb58140a412922bc9c (diff)
downloadgenenetwork2-121ecdeb9d923e9964969007ac56210fb17e2c4d.tar.gz
Add configuration variables for external services
* Add configuration variables for GitHub and ORCID which will be used by the system to allow users to login.
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index d3113302..e7a673ad 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -251,6 +251,10 @@ assert_dir(JS_GUIX_PATH)
JS_GN_PATH = get_setting('JS_GN_PATH')
# assert_dir(JS_GN_PATH)
+GITHUB_AUTH_URL = get_setting('GITHUB_AUTH_URL')
+ORCID_AUTH_URL = get_setting('ORCID_AUTH_URL')
+ORCID_TOKEN_URL = get_setting('ORCID_TOKEN_URL')
+
PYLMM_COMMAND = app_set("PYLMM_COMMAND",pylmm_command())
GEMMA_COMMAND = app_set("GEMMA_COMMAND",gemma_command())
assert(GEMMA_COMMAND is not None)