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
Metadata
Release files for oauth2-proxy 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oauth2-proxy-1.0.11.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oauth2_proxy-1.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / oauth2-proxy-1.0.11.tar.gz
| Download URL | oauth2-proxy-1.0.11.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e56d23425aef6d5b0906237407a37526fc45761d138b2f0288fdd9d196fdbb86
|
|
BLAKE2b-256 checksum How to use checksums |
822869bef24df0c50baffde712161cf022b548cd06a95b451fbc91a19a296271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / oauth2_proxy-1.0.11-py3-none-any.whl
| Download URL | oauth2_proxy-1.0.11-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aac7f28954323d6ae4d88c241af036f5f05ed8b7310e331ff1be103db4d93066
|
|
BLAKE2b-256 checksum How to use checksums |
40a16e2a921aa90c854141c0366cc5bdb42c4cb8e3654faa1d5d07262420b859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |