summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/web_config.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-09 17:17:31 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-09 17:17:31 -0700
commit0840e5211309cd9e80ad7b2bbe82df3971423323 (patch)
tree57dd49d91e2a0bea622ed4c5ebcaf7116d472e4d /python/fatcat_web/web_config.py
parentebedda562b528db3f14e47093b380ef41a303261 (diff)
downloadfatcat-0840e5211309cd9e80ad7b2bbe82df3971423323.tar.gz
fatcat-0840e5211309cd9e80ad7b2bbe82df3971423323.zip
crude mostly-working wikipedia (mediawiki) login
Diffstat (limited to 'python/fatcat_web/web_config.py')
-rw-r--r--python/fatcat_web/web_config.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/fatcat_web/web_config.py b/python/fatcat_web/web_config.py
index b12cb114..e681b397 100644
--- a/python/fatcat_web/web_config.py
+++ b/python/fatcat_web/web_config.py
@@ -32,9 +32,18 @@ class Config(object):
FLASK_SECRET_KEY = os.environ.get("FLASK_SECRET_KEY", default=None)
SECRET_KEY = FLASK_SECRET_KEY
+ ORCID_CLIENT_ID = os.environ.get("ORCID_CLIENT_ID", default=None)
+ ORCID_CLIENT_SECRET = os.environ.get("ORCID_CLIENT_SECRET", default=None)
+
+ WIKIPEDIA_CLIENT_ID = os.environ.get("WIKIPEDIA_CLIENT_ID", default=None)
+ WIKIPEDIA_CLIENT_SECRET = os.environ.get("WIKIPEDIA_CLIENT_SECRET", default=None)
+
GITLAB_CLIENT_ID = os.environ.get("GITLAB_CLIENT_ID", default=None)
GITLAB_CLIENT_SECRET = os.environ.get("GITLAB_CLIENT_SECRET", default=None)
+ GITHUB_CLIENT_ID = os.environ.get("GITHUB_CLIENT_ID", default=None)
+ GITHUB_CLIENT_SECRET = os.environ.get("GITHUB_CLIENT_SECRET", default=None)
+
IA_XAUTH_URI = "https://archive.org/services/xauthn/"
IA_XAUTH_CLIENT_ID = os.environ.get("IA_XAUTH_CLIENT_ID", default=None)
IA_XAUTH_CLIENT_SECRET = os.environ.get("IA_XAUTH_CLIENT_SECRET", default=None)