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

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

Built distribution (wheel)

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

Total release size: 25.6 kB

Release files / supaapps_platform93_auth-0.6.2.tar.gz

Download URL supaapps_platform93_auth-0.6.2.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3263c12cc5a1e70014b6d72af92d804916c0a013c56e81baa2874fdf9f0a734
BLAKE2b-256 checksum
How to use checksums
32cd8b0f36d7a1fc6221c2dca4a4d0ec876ab59ea4c6a604579532330f1e499e
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 22, 2026.

Transparency log

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

Download URL supaapps_platform93_auth-0.6.2-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
474f0258ec116077c5d28799f0097e638a6a21376534ab2dc6270cbb3ccd470d
BLAKE2b-256 checksum
How to use checksums
621a879cd5cfc6057615331f93df114044baad1b6eca2a2d25b8cf5e143929fa
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 22, 2026.

Transparency log

Security for supaapps-platform93-auth 0.6.2

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.2.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 22, 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