Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 1.12 KB

README.rst

File metadata and controls

39 lines (29 loc) · 1.12 KB

OAuth2 Proxy

PyPI Downloads Latest PyPI version License

Flask application to serve static files to authenticated users (via OAuth 2 authorization flow).

$ sudo pip3 install -r requirements.txt
$ python3 -m oauth2_proxy.app

Environment Variables

The following environment variables can be used for configuration:

APP_DEBUG
Enable debug output via HTTP by setting this property to true. Do not set this flag in production.
APP_ROOT_DIR
Directory to serve static files from.
APP_SECRET_KEY
Random secret key to sign the session cookie.
APP_URL
Base URL of the application (needed for OAuth 2 redirect).
CREDENTIALS_DIR
Directory containing client.json