authproxy
A simple Python 3 service that accepts HTTP requests with an Authorization header, and authenticates the credentials against an identity backend service, such as LDAP.
This is particularly useful in combination with ngx_http_auth_request_module.
Usage
usage: authproxy [-h] [-b BIND] -u URL [--ca-certs-file] [--ca-certs-dir]
[--no-verify] [--ldap-user-pattern] [--ldap-member-attr]
Simple HTTP server to proxy authentication requests.
optional arguments:
-h, --help show this help message and exit
-b BIND, --bind BIND IP:port to bind to (default: 127.0.0.1:8018)
-u URL, --url URL URL of auth server (multiple, required)
--ca-certs-file Path to CA certs bundle file
--ca-certs-dir Path to directory containing CA certs
--no-verify Skip TLS verification
--ldap-user-pattern User DN string with {} for username
--ldap-member-attr User attribute containing group memberships
Example
authproxy -u ldaps://ipa.localdomain.tld \
--ca-certs-file /etc/ipa/ca.crt \
--ldap-user-pattern uid={},cn=users,cn=accounts,dc=localdomain,dc=tld
Metadata
Release files for httpauthproxy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| httpauthproxy-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for httpauthproxy-1.0.1-py3-none-any.whl |
Release files / httpauthproxy-1.0.1-py3-none-any.whl
| Download URL | httpauthproxy-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1cbf4cf51aa9b417d5908ea02d1baf6c97640272f17606a84f2be68b35eee4e
|
|
BLAKE2b-256 checksum How to use checksums |
71ab63d4894b1aa1f2d22ae614b3995e81ed371dc38775c8f1b6c51b8ef76a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for httpauthproxy 1.0.1
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.