diff options
author | Muriithi Frederick Muriuki | 2018-01-12 18:01:11 +0300 |
---|---|---|
committer | Pjotr Prins | 2018-03-26 09:24:34 +0000 |
commit | ccdf9b81147fba35e4df704f39026af6a64e3a20 (patch) | |
tree | 56a638a11ab9717074af8f7e55f00f624f5b931b /wqflask/utility/tools.py | |
parent | 06a34983c913f697f10f0440240cffb28f5ddb79 (diff) | |
download | genenetwork2-ccdf9b81147fba35e4df704f39026af6a64e3a20.tar.gz |
Add client_id and client_secret configurations
* Provide the OAuth2 client_id and client_secret values in configuration
variables.
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r-- | wqflask/utility/tools.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index e7a673ad..330344d1 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -251,7 +251,11 @@ assert_dir(JS_GUIX_PATH) JS_GN_PATH = get_setting('JS_GN_PATH') # assert_dir(JS_GN_PATH) +GITHUB_CLIENT_ID = get_setting('GITHUB_CLIENT_ID') +GITHUB_CLIENT_SECRET = get_setting('GITHUB_CLIENT_SECRET') GITHUB_AUTH_URL = get_setting('GITHUB_AUTH_URL') +ORCID_CLIENT_ID = get_setting('ORCID_CLIENT_ID') +ORCID_CLIENT_SECRET = get_setting('ORCID_CLIENT_SECRET') ORCID_AUTH_URL = get_setting('ORCID_AUTH_URL') ORCID_TOKEN_URL = get_setting('ORCID_TOKEN_URL') |