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
oauth2-proxy-1.0.8.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file oauth2-proxy-1.0.8.tar.gz
.
File metadata
- Download URL: oauth2-proxy-1.0.8.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6898e59b24f1ad17f7509e164c1db107f25d8428e2ceb30319f4e3fbea5d67b2 |
|
MD5 | 84798b2d555808af7c80e6490b3953a2 |
|
BLAKE2b-256 | 8368a43592932cca89a84303cc15391bb1542cedd2153ef22b23cf52d244fecd |
Provenance
File details
Details for the file oauth2_proxy-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: oauth2_proxy-1.0.8-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc33ea7c6be65ff5e3092760e54c0dc041e7c32037c7a95c4ffdfd1162ef277b |
|
MD5 | bbcf32007bbad1e7f8c48d411d084eb8 |
|
BLAKE2b-256 | d5e6b1ae48ab7359d3572ae1b4a326babbb283c148341ad666b0d2b804764580 |