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 1.0.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 1.0.0
File Size Uploaded
oqtopus_auth-1.0.0.tar.gz 268.8 kB Details

Built distribution (wheel)

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

Total release size: 302.1 kB

Release files / oqtopus_auth-1.0.0.tar.gz

Download URL oqtopus_auth-1.0.0.tar.gz
Size 268.8 kB
Tags Source
SHA-256 checksum
How to use checksums
73bda31846d2364824e285f1ddd4e4c06d9229be80f48856d00d4baefbbc77f5
BLAKE2b-256 checksum
How to use checksums
2ef041dee5daff20cbbb78c0992370a6a2d14add732482d78b4c1ad4de707e60
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-1.0.0-py3-none-any.whl

Download URL oqtopus_auth-1.0.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ee2f2efb6059b451fd931223c8451274e41a2728cb74be70f59f96592751723
BLAKE2b-256 checksum
How to use checksums
8fbf199af471019aedb26c6e255d702dc95c08e529920d61335885f37163ed10
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

This release

1.0.0 This release

2 release files

0.2.0

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