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.7.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for oauth2_proxy-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6d4f8a5e38346ca4b262e32ea74f4545959ac3966ac0ff44ae86bc96cfdd5e |
|
MD5 | 1b184155594caa05b72ad77b3d776582 |
|
BLAKE2b-256 | 3e434e52b5b2a3d37674bbd6c081803979c6bfb53750b50531e3049d3212840a |