diff options
author | zsloan | 2020-12-18 17:34:47 -0600 |
---|---|---|
committer | zsloan | 2020-12-18 17:34:47 -0600 |
commit | fc717c36d334f364bbae8c98f31ddf78e18d64e3 (patch) | |
tree | 3bc570a4c833187a414e3c7bc136bebce95f7920 /wqflask/utility/tools.py | |
parent | 69f92ef2bc10477a80eff96fb7cc83fee11f31e8 (diff) | |
download | genenetwork2-fc717c36d334f364bbae8c98f31ddf78e18d64e3.tar.gz |
Added redirect_uri to the ORCID_AUTH_URL since it wasn't working due to missing this parameter
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r-- | wqflask/utility/tools.py | 2 |
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') |