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-1.0.0rc2.tar.gz (244.7 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-1.0.0rc2-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file stac_auth_proxy-1.0.0rc2.tar.gz.

File metadata

  • Download URL: stac_auth_proxy-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 244.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for stac_auth_proxy-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 ab15aeea79a3c62f9c76f891e011e8d6b97c2b7a85f4f35093f17e641dba5170
MD5 46993e6ca70a729a8b4a043f7a8584b9
BLAKE2b-256 6ac940a7cb7b0f02d092e4afb952db00fdb040bb5aa8d16986d9df35c505e0a0

See more details on using hashes here.

File details

Details for the file stac_auth_proxy-1.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: stac_auth_proxy-1.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for stac_auth_proxy-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2dc88ba87f78b5d1d1ebc8181c7225c95b39ed7e98120f77504cea3f7d88429
MD5 cffaef7f0dac5d1df734515eb45b4c54
BLAKE2b-256 fbb72036ce0cfdc0dda98e5bb0a950e228c735ac13ce6489aab073fe1ea7a695

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