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.1

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.1
File Size Uploaded Provenance Actions
kobil_auth-3.0.1.tar.gz 2.7 kB Without provenance Details for kobil_auth-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / kobil_auth-3.0.1.tar.gz

Download URL kobil_auth-3.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
343e08cac41ddb3bd14e683d64420d778493d33b62bf99a8f696740b5d97f35a
BLAKE2b-256 checksum
How to use checksums
47f01e32ef24984fd40b61a36625762fedf934358dc473cff3e87ced936bbdd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL kobil_auth-3.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
674901b5acfe0aa63b5ba8226597064c0da17e7963ca54e51c7899d1303e3a69
BLAKE2b-256 checksum
How to use checksums
4605d5933e1e1bfa267a3c35d1792a194d483f51ecd52d4ee8e697631d607d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for kobil-auth 3.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.

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