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.9.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file oauth2-proxy-1.0.9.tar.gz
.
File metadata
- Download URL: oauth2-proxy-1.0.9.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68c93a4788cc92f0d4ab690b5441d5276fc15144562c6165ba545eef7389522 |
|
MD5 | e638e55ef236085042cc1282757ebd90 |
|
BLAKE2b-256 | db922c457ca754f5914ad44a39f4c8df632b398a30e295a8eb005410e92281a8 |
Provenance
File details
Details for the file oauth2_proxy-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: oauth2_proxy-1.0.9-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d9f3565c5a1b3c00f7380ad761ece613cbfb699c35c5fff1f9c8340039b13c1 |
|
MD5 | 33325dee1485be3dbc82a71ac0269345 |
|
BLAKE2b-256 | 56cbd3945bc4f5d454c45a9f1b837e0d8e6df794a854a7705e638f09a8ab4529 |