Skip to main content

kobil-auth

KOBIL OIDC (OpenID Connect) authentication helper for Python.

pip install kobil-auth
from kobil.auth import AuthClient

auth = AuthClient(
    authorization_endpoint="https://idp.../auth",
    token_endpoint="https://idp.../token",
    client_id="...",
    client_secret="...",
    scope="openid profile email",
)

url = auth.build_authorization_url("https://app.example.com/callback")
tokens = auth.exchange_code_for_token(code, "https://app.example.com/callback")

Failures raise kobil.auth.KobilAuthError (subclass of kobil.core.KobilError).

License

MIT

Metadata

Release files for kobil-auth 3.0.0

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

Source distribution (sdist)

Source distribution for kobil-auth 3.0.0
File Size Uploaded Provenance Actions
kobil_auth-3.0.0.tar.gz 2.7 kB Without provenance Details for kobil_auth-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kobil-auth 3.0.0
File Interpreter ABI Platform Actions
kobil_auth-3.0.0-py3-none-any.whl Python 3 none any Details for kobil_auth-3.0.0-py3-none-any.whl

Total release size: 5.5 kB

Release files / kobil_auth-3.0.0.tar.gz

Download URL kobil_auth-3.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7fbd85cb0f22ce5b6505736a59093c25a020edc744926818da70d0a5c1c78f64
BLAKE2b-256 checksum
How to use checksums
6649952f964668dd2ba7aec1ecea77d703b9f39b798d29c5aff4287362cc39aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / kobil_auth-3.0.0-py3-none-any.whl

Download URL kobil_auth-3.0.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c6a37944ecb2533817e176e1f750dc33594829a7160ddd2c01926d158495421
BLAKE2b-256 checksum
How to use checksums
36a98626044fae9ad6f12eb830fc90e31ffac7d13f10347368a6f3cdb186361b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for kobil-auth 3.0.0

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