Warning
This project is currently in active development and may change drastically in the near future while we work towards solidifying a first release.
STAC Auth Proxy is a proxy API that mediates between the client and and some internally accessible STAC API in order to provide a flexible authentication mechanism.
- 🔐 Selectively apply OIDC auth to some or all endpoints & methods
- 📖 Augments OpenAPI with auth information, keeping auto-generated docs (e.g. Swagger UI) accurate
- 💂♀️ Custom policies enforce complex access controls, defined with Common Expression Language (CEL)
Set up connection to upstream STAC API and the OpenID Connect provider by setting the following environment variables:
export STAC_AUTH_PROXY_UPSTREAM_URL="https://some.url"
export STAC_AUTH_PROXY_OIDC_DISCOVERY_URL="https://your-openid-connect-provider.com/.well-known/openid-configuration"
Install software:
uv run python -m stac_auth_proxy