Skip to main content

supaapps-platform93-auth

Strict Platform93 JWT verification plus a backend-only MachineClient. The machine client uses OAuth client credentials and provides notification, invitation, user, workspace, entitlement, billing-summary, and custom-event methods. Keep its client secret in backend secret storage and never expose it to browser code.

Strict server-side verification for Platform93 application JWTs, including issuer, audience, actor type, application boundary, expiry, and JWKS rotation checks.

pip install supaapps-platform93-auth

Framework adapters are available through the fastapi, django, and flask extras. See the Platform93 repository for contracts and integration documentation.

Protected Resources

Ordinary Verifier.verify rejects resource tokens. Resource backends use verifier.authorize_resource(token, resource="https://resource.example/api", capability="documents:read", machine_client=machine_client, workspace_id=workspace_id). Omit workspace_id for personal access. The machine client needs the application's resource_access:check permission. The helper verifies locally and performs a fresh live check on every call; denial, malformed decisions, and service failures raise rather than falling back to offline authorization.

protected_resource_metadata(resource, issuer, application_id, capabilities) builds discovery metadata; resource_challenge(metadata_uri, error=None, description=None) builds a validated and escaped WWW-Authenticate value. No authorization decisions are cached. Resource JWTs are limited to 16 KiB.

Metadata

Release files for supaapps-platform93-auth 0.5.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 supaapps-platform93-auth 0.5.0
File Size Uploaded Provenance
supaapps_platform93_auth-0.5.0.tar.gz 11.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for supaapps-platform93-auth 0.5.0
File Interpreter ABI Platform
supaapps_platform93_auth-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / supaapps_platform93_auth-0.5.0.tar.gz

Download URL supaapps_platform93_auth-0.5.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c1ffa55aad434664badb527eca3560a12d2bfb98d64e62edac7b19c9dbc01dc8
BLAKE2b-256 checksum
How to use checksums
f793e406682c002e00c5d8185fb9e1049096a22de0d837fbd4c360e0f269c0d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / supaapps_platform93_auth-0.5.0-py3-none-any.whl

Download URL supaapps_platform93_auth-0.5.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f8573f8ee772b66d267bb7a5a3a532a9eca780afc12b369b87ec9d8bee0f0ba
BLAKE2b-256 checksum
How to use checksums
7e2f2ac2c256520a510eee535c98198cc7be6e0941091036687a524c75fc7474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for supaapps-platform93-auth 0.5.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for supaapps_platform93_auth-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

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.

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