Skip to main content

proxy auth

proxy auth for python app

Note: this package is still in beta. Use with caution !

Quickstart

Install proxyauth:

pip install proxyauth

Use proxy:

app = Flask(__name__)

app.config['SECRET_KEY'] = 'helloworld'
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=7)
# app.config['SESSION_COOKIE_HTTPONLY'] = True

@proxy_all(app=app, auth_url='http://127.0.0.1:7000')
def proxy(path):
    return request.url.replace(':7001', ':7002')


@app.route('/error', methods=['GET'])
def cookie():
    return 'error'

@app.route('/session', methods=['GET'])
def setup():
    return session_setup()

if __name__ == '__main__':
    app.run(port=7001)

Metadata

Release files for proxyauth 2018.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for proxyauth 2018.8.3
File Interpreter ABI Platform Actions
proxyauth-2018.8.3-py3-none-any.whl Python 3 none any Details for proxyauth-2018.8.3-py3-none-any.whl

Release files / proxyauth-2018.8.3-py3-none-any.whl

Download URL proxyauth-2018.8.3-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b4809bc48e43ebeb9fccad1c6335a6d609e619399662dcbd9456364f77ea25
BLAKE2b-256 checksum
How to use checksums
ec1c78e1c76967877e3731cb16c06df07d42600a4fc5167e1756119b760de707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for proxyauth 2018.8.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page