Skip to main content

OAuth2 proxy with authorization/redirect flow

Project description

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_ROOT_DIR

Directory to serve 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.

Source Distribution

oauth2-proxy-0.5.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

oauth2_proxy-0.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page