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 details)
Built Distribution
File details
Details for the file oauth2-proxy-0.5.tar.gz
.
File metadata
- Download URL: oauth2-proxy-0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069a291f32f26e2a7c4212feb6b3348c6d69b2663242aa7e2bfbc943816ea6c6 |
|
MD5 | e7112a28a13740d64362ed183ae246d7 |
|
BLAKE2b-256 | 202a3de8966cfbced5e9f52985526b028641d54104c0c19adc2588c2de36e9c3 |
Provenance
File details
Details for the file oauth2_proxy-0.5-py3-none-any.whl
.
File metadata
- Download URL: oauth2_proxy-0.5-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 677c8124daf476edb4b354aa2202feb8b3736137913f8840516a7a00eb38c0fc |
|
MD5 | 154cc305754101e2899be614517d421d |
|
BLAKE2b-256 | 53744093dd141971d1349e343df7181dffcc0d6aebd8e0475d1cb2160dd28726 |