Skip to main content

OQTOPUS logo

OQTOPUS Auth

CI codecov pypi version License slack

Overview

OQTOPUS Auth is a framework-agnostic authentication and authorization library for the OQTOPUS ecosystem. It ships pluggable authentication providers:

  • none — authentication disabled (local development).
  • header — trust a JWT injected by a trusted reverse proxy (e.g. oauth2-proxy, Cloudflare Access).
  • oidc — verify an Authorization: Bearer token directly against the issuer's JWKS (iss/exp/aud or client_id) and optionally enforce an OAuth2 scope; for services that are the resource server (M2M / client-credentials, or an API with no edge authorizer).

It also provides a role/permission model, an optional FastAPI integration, and a client-credentials token provider for the calling side of an oidc-protected service.

pip install oqtopus-auth
# with the FastAPI middleware and dependencies:
pip install "oqtopus-auth[fastapi]"
# with the client-credentials token provider (ClientCredentialsTokenProvider):
pip install "oqtopus-auth[client]"

Documentation

Citation

You can use the DOI to cite oqtopus-auth in your research.

DOI

Citation information is also available in the CITATION file.

Contact

You can contact us by creating an issue in this repository or by email:

License

oqtopus-auth is released under the Apache License 2.0.

Metadata

Release files for oqtopus-auth 0.2.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 oqtopus-auth 0.2.0
File Size Uploaded
oqtopus_auth-0.2.0.tar.gz 268.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oqtopus-auth 0.2.0
File Interpreter ABI Platform
oqtopus_auth-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 302.1 kB

Release files / oqtopus_auth-0.2.0.tar.gz

Download URL oqtopus_auth-0.2.0.tar.gz
Size 268.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fc4b2442a0207c635f933ac7194559f0603ca7805abea260af276d56f968f70b
BLAKE2b-256 checksum
How to use checksums
c8ae2e5763e43e65a00848fe000c6674555a0ac3f16b67c479d8199de5e1aff9
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 6, 2026.

Transparency log

Release files / oqtopus_auth-0.2.0-py3-none-any.whl

Download URL oqtopus_auth-0.2.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2af9f2690a33c232f1ab7d2e8e3e4c38715a8a57880873db40a39e9203d018b7
BLAKE2b-256 checksum
How to use checksums
0f7c1c03d003b2733dbad613dc460366efdd6dfc12863ee137852fac89f43313
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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