aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
authorzsloan2021-01-14 14:52:19 -0600
committerGitHub2021-01-14 14:52:19 -0600
commitec2c751096d858591d40f5c85597b45a1322ac86 (patch)
treecd0b06444355ce9751a47f184c2240ca35cb40a4 /wqflask/utility/tools.py
parent7d97698ca88460c2f66b67ada31085b02cbc9ee4 (diff)
parent9fc14e59be7f95730608a6fcc6f82caf5314585d (diff)
downloadgenenetwork2-ec2c751096d858591d40f5c85597b45a1322ac86.tar.gz
Merge branch 'testing' into feature/swap_legend_metadata_positions
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')