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.

Source Distribution

oauth2-proxy-1.0.11.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

oauth2_proxy-1.0.11-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file oauth2-proxy-1.0.11.tar.gz.

File metadata

File hashes

Hashes for oauth2-proxy-1.0.11.tar.gz
Algorithm Hash digest
SHA256 e56d23425aef6d5b0906237407a37526fc45761d138b2f0288fdd9d196fdbb86
MD5 92775c33e4156da92eb5db0c65bbfe45
BLAKE2b-256 822869bef24df0c50baffde712161cf022b548cd06a95b451fbc91a19a296271

See more details on using hashes here.

Provenance

File details

Details for the file oauth2_proxy-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for oauth2_proxy-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 aac7f28954323d6ae4d88c241af036f5f05ed8b7310e331ff1be103db4d93066
MD5 fcd30b7f4a404321683bd6a31819a49b
BLAKE2b-256 40a16e2a921aa90c854141c0366cc5bdb42c4cb8e3654faa1d5d07262420b859

See more details on using hashes here.

Provenance

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