Skip to main content

OAuth2 proxy with authorization/redirect flow

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for oauth2-proxy, version 1.0.11
Filename, size File type Python version Upload date Hashes
Filename, size oauth2_proxy-1.0.11-py3-none-any.whl (5.1 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size oauth2-proxy-1.0.11.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page