Skip to main content

STAC authentication proxy with FastAPI

Project description

stac auth proxy

Reverse proxy to apply auth*n to your STAC API.


PyPI - Version GHCR - Version GHCR - Size codecov Tests

STAC Auth Proxy is a proxy API that mediates between the client and your internally accessible STAC API to provide flexible authentication, authorization, and content-filtering mechanisms.

[!IMPORTANT]

We would :heart: to hear from you! Please join the discussion and let us know how you're using eoAPI! This helps us improve the project for you and others. If you prefer to remain anonymous, you can email us at eoapi@developmentseed.org, and we'll be happy to post a summary on your behalf.

✨Features✨

  • 🔐 Authentication: Apply OpenID Connect (OIDC) token validation and optional scope checks to specified endpoints and methods
  • 🛂 Content Filtering: Use CQL2 filters via the Filter Extension to tailor API responses based on request context (e.g. user role)
  • 🤝 External Policy Integration: Integrate with external systems (e.g. Open Policy Agent (OPA)) to generate CQL2 filters dynamically from policy decisions
  • 🧩 Authentication Extension: Add the Authentication Extension to API responses to expose auth-related metadata
  • 📘 OpenAPI Augmentation: Enhance the OpenAPI spec with security details to keep auto-generated docs and UIs (e.g., Swagger UI) accurate
  • 🗜️ Response Compression: Optimize response sizes using starlette-cramjam

Documentation

Full documentation is available on the website.

Head to Getting Started to dig in.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stac_auth_proxy-0.9.1.tar.gz (249.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stac_auth_proxy-0.9.1-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file stac_auth_proxy-0.9.1.tar.gz.

File metadata

  • Download URL: stac_auth_proxy-0.9.1.tar.gz
  • Upload date:
  • Size: 249.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.15

File hashes

Hashes for stac_auth_proxy-0.9.1.tar.gz
Algorithm Hash digest
SHA256 6c7770cffd347e11a42637845045112c1cebde986d588438fa1952fad3117dfa
MD5 828fe17cb41c6d9a9b3d42f0d736e435
BLAKE2b-256 d9bf8375d573bcf5c62936d69a3e1515cbe15a42d94b72dd6294a714d7cff7f9

See more details on using hashes here.

File details

Details for the file stac_auth_proxy-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stac_auth_proxy-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a86ed1198ef3ba9aa79794243898c2a245c46f5eadb05a8f13f6bd993efb784c
MD5 4470a7ceaa45efba41778ffa19d8684f
BLAKE2b-256 4554c0da1f80178926014cbd32150454e9318ae2e6ed0f93a360feb0f071f834

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page