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.6.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.6.0
File Size Uploaded Provenance
supaapps_platform93_auth-0.6.0.tar.gz 12.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 25.6 kB

Release files / supaapps_platform93_auth-0.6.0.tar.gz

Download URL supaapps_platform93_auth-0.6.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c1d5fcaafb3769eb87c4c76ced460b53d25489b3ae3fff04144c8c95e4e7808f
BLAKE2b-256 checksum
How to use checksums
465593b8e516a048edf881b87f5211317b8966f1117a61cd115ba4e9730e7d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

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

Download URL supaapps_platform93_auth-0.6.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45b2e5647c36f2839068c0c3209ce380c5a9a5e1879d32621074a79130fe74a6
BLAKE2b-256 checksum
How to use checksums
62136311f9dc88c807c9a3b6e6aae6671d634494e1395c682fea9dee017d00ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

Security for supaapps-platform93-auth 0.6.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.6.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 21, 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