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.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 supaapps-platform93-auth 0.6.1
File Size Uploaded Provenance
supaapps_platform93_auth-0.6.1.tar.gz 12.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 25.6 kB

Release files / supaapps_platform93_auth-0.6.1.tar.gz

Download URL supaapps_platform93_auth-0.6.1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ff4b5648e88013ddc89493a23c923064d23379f4343bbd739dfd1f11f774eba8
BLAKE2b-256 checksum
How to use checksums
3f5a737c5d4c8ac62775102bb20004db73019744f85ff2717d4ac345cff5c787
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.1-py3-none-any.whl

Download URL supaapps_platform93_auth-0.6.1-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a338f468528513d27f564ca06ac0c212af00788830241b6baa426d0a9a06d40c
BLAKE2b-256 checksum
How to use checksums
fb03c6b0875b9953be19e2f81bf3fc39412fe97d69af920e278ae6d2ac2fbd12
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.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.

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