aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-01-29 14:54:24 +0300
committerAlexander Kabui2021-01-29 14:54:24 +0300
commitde173353d95275855831fde5c1377ddce721fd34 (patch)
treeff7c46a25a32a8d9e0b37a679184d9ccec1286a8 /wqflask/utility/tools.py
parenta6ae88d773db27394aa7120ce2c552bff8f9c857 (diff)
parent9f12da2623c3ca9156300c825fe0f86ad08bb76e (diff)
downloadgenenetwork2-de173353d95275855831fde5c1377ddce721fd34.tar.gz
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into replace-bootstrap
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 68ef0f04..65df59c3 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -267,7 +267,7 @@ ORCID_CLIENT_SECRET = get_setting('ORCID_CLIENT_SECRET')
ORCID_AUTH_URL = None
if ORCID_CLIENT_ID != 'UNKNOWN' and ORCID_CLIENT_SECRET:
ORCID_AUTH_URL = "https://orcid.org/oauth/authorize?response_type=code&scope=/authenticate&show_login=true&client_id=" + \
- ORCID_CLIENT_ID+"&client_secret="+ORCID_CLIENT_SECRET
+ ORCID_CLIENT_ID+"&client_secret="+ORCID_CLIENT_SECRET + "&redirect_uri=" + GN2_BRANCH_URL + "n/login/orcid_oauth2"
ORCID_TOKEN_URL = get_setting('ORCID_TOKEN_URL')
ELASTICSEARCH_HOST = get_setting('ELASTICSEARCH_HOST')