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.11.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for oauth2_proxy-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aac7f28954323d6ae4d88c241af036f5f05ed8b7310e331ff1be103db4d93066 |
|
MD5 | fcd30b7f4a404321683bd6a31819a49b |
|
BLAKE2b-256 | 40a16e2a921aa90c854141c0366cc5bdb42c4cb8e3654faa1d5d07262420b859 |