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_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oauth2-proxy-1.0.11.tar.gz.
File metadata
- Download URL: oauth2-proxy-1.0.11.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e56d23425aef6d5b0906237407a37526fc45761d138b2f0288fdd9d196fdbb86
|
|
| MD5 |
92775c33e4156da92eb5db0c65bbfe45
|
|
| BLAKE2b-256 |
822869bef24df0c50baffde712161cf022b548cd06a95b451fbc91a19a296271
|
File details
Details for the file oauth2_proxy-1.0.11-py3-none-any.whl.
File metadata
- Download URL: oauth2_proxy-1.0.11-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aac7f28954323d6ae4d88c241af036f5f05ed8b7310e331ff1be103db4d93066
|
|
| MD5 |
fcd30b7f4a404321683bd6a31819a49b
|
|
| BLAKE2b-256 |
40a16e2a921aa90c854141c0366cc5bdb42c4cb8e3654faa1d5d07262420b859
|