diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-07 17:43:34 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-07 17:43:34 -0800 |
commit | 5d5a5648cb480e05c4253c954c71094c7251b65a (patch) | |
tree | 37a42db8e57d190c95c448b77e9eac580fe8417a /python/fatcat_web/web_config.py | |
parent | a373cda815b0a44d93b485800b63a785c9aeb8aa (diff) | |
download | fatcat-5d5a5648cb480e05c4253c954c71094c7251b65a.tar.gz fatcat-5d5a5648cb480e05c4253c954c71094c7251b65a.zip |
basic/crude IA login
Diffstat (limited to 'python/fatcat_web/web_config.py')
-rw-r--r-- | python/fatcat_web/web_config.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/fatcat_web/web_config.py b/python/fatcat_web/web_config.py index 85134762..0ae43a3a 100644 --- a/python/fatcat_web/web_config.py +++ b/python/fatcat_web/web_config.py @@ -31,8 +31,12 @@ class Config(object): FLASK_SECRET_KEY = os.environ.get("FLASK_SECRET_KEY", default=None) SECRET_KEY = FLASK_SECRET_KEY - GITLAB_CLIENT_ID = os.environ.get("GITLAB_CLIENT_ID", default="bogus") - GITLAB_CLIENT_SECRET = os.environ.get("GITLAB_CLIENT_SECRET", default="bogus") + GITLAB_CLIENT_ID = os.environ.get("GITLAB_CLIENT_ID", default=None) + GITLAB_CLIENT_SECRET = os.environ.get("GITLAB_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) # protect cookies (which include API tokens) SESSION_COOKIE_HTTPONLY = True |