stac-auth-proxy


Namestac-auth-proxy JSON
Version 0.10.0 PyPI version JSON
download
home_pageNone
SummarySTAC authentication proxy with FastAPI
upload_time2025-10-14 19:12:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Development Seed Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords authentication fastapi proxy stac
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <h1 style="font-family: monospace">stac auth proxy</h1>
  <p align="center">Reverse proxy to apply auth*n to your STAC API.</p>
</div>

---

[![PyPI - Version][pypi-version-badge]][pypi-link]
[![GHCR - Version][ghcr-version-badge]][ghcr-link]
[![GHCR - Size][ghcr-size-badge]][ghcr-link]
[![codecov][codecov-badge]][codecov-link]
[![Tests][tests-badge]][tests-link]

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](https://github.com/developmentseed/eoAPI/discussions/209) 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)](https://openid.net/developers/how-connect-works/) token validation and optional scope checks to specified endpoints and methods
- **๐Ÿ›‚ Content Filtering:** Use CQL2 filters via the [Filter Extension](https://github.com/stac-api-extensions/filter?tab=readme-ov-file) 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)](https://www.openpolicyagent.org/)) to generate CQL2 filters dynamically from policy decisions
- **๐Ÿงฉ Authentication Extension:** Add the [Authentication Extension](https://github.com/stac-extensions/authentication) to API responses to expose auth-related metadata
- **๐Ÿ“˜ OpenAPI Augmentation:** Enhance the [OpenAPI spec](https://swagger.io/specification/) with security details to keep auto-generated docs and UIs (e.g., [Swagger UI](https://swagger.io/tools/swagger-ui/)) accurate
- **๐Ÿ—œ๏ธ Response Compression:** Optimize response sizes using [`starlette-cramjam`](https://github.com/developmentseed/starlette-cramjam/)

## Documentation

[Full documentation is available on the website](https://developmentseed.org/stac-auth-proxy).

Head to [Getting Started](https://developmentseed.org/stac-auth-proxy/user-guide/getting-started/) to dig in.

[pypi-version-badge]: https://badge.fury.io/py/stac-auth-proxy.svg
[pypi-link]: https://pypi.org/project/stac-auth-proxy/
[ghcr-version-badge]: https://ghcr-badge.egpl.dev/developmentseed/stac-auth-proxy/latest_tag?color=%2344cc11&ignore=latest&label=image+version&trim=
[ghcr-size-badge]: https://ghcr-badge.egpl.dev/developmentseed/stac-auth-proxy/size?color=%2344cc11&tag=latest&label=image+size&trim=
[ghcr-link]: https://github.com/developmentseed/stac-auth-proxy/pkgs/container/stac-auth-proxy
[codecov-badge]: https://codecov.io/gh/developmentseed/stac-auth-proxy/branch/main/graph/badge.svg
[codecov-link]: https://codecov.io/gh/developmentseed/stac-auth-proxy
[tests-badge]: https://github.com/developmentseed/stac-auth-proxy/actions/workflows/cicd.yaml/badge.svg
[tests-link]: https://github.com/developmentseed/stac-auth-proxy/actions/workflows/cicd.yaml

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "stac-auth-proxy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Authentication, FastAPI, Proxy, STAC",
    "author": null,
    "author_email": "Anthony Lukach <anthonylukach@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/1d/a7/0bb0baec309c63fbcee1a08dd82718ce03d3db0a1818e4fd1ed387ff3c2e/stac_auth_proxy-0.10.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <h1 style=\"font-family: monospace\">stac auth proxy</h1>\n  <p align=\"center\">Reverse proxy to apply auth*n to your STAC API.</p>\n</div>\n\n---\n\n[![PyPI - Version][pypi-version-badge]][pypi-link]\n[![GHCR - Version][ghcr-version-badge]][ghcr-link]\n[![GHCR - Size][ghcr-size-badge]][ghcr-link]\n[![codecov][codecov-badge]][codecov-link]\n[![Tests][tests-badge]][tests-link]\n\nSTAC 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.\n\n> [!IMPORTANT]\n>\n> **We would :heart: to hear from you!**\n> Please [join the discussion](https://github.com/developmentseed/eoAPI/discussions/209) and let us know how you're using eoAPI! This helps us improve the project for you and others.\n> 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.\n\n## \u2728Features\u2728\n\n- **\ud83d\udd10 Authentication:** Apply [OpenID Connect (OIDC)](https://openid.net/developers/how-connect-works/) token validation and optional scope checks to specified endpoints and methods\n- **\ud83d\udec2 Content Filtering:** Use CQL2 filters via the [Filter Extension](https://github.com/stac-api-extensions/filter?tab=readme-ov-file) to tailor API responses based on request context (e.g. user role)\n- **\ud83e\udd1d External Policy Integration:** Integrate with external systems (e.g. [Open Policy Agent (OPA)](https://www.openpolicyagent.org/)) to generate CQL2 filters dynamically from policy decisions\n- **\ud83e\udde9 Authentication Extension:** Add the [Authentication Extension](https://github.com/stac-extensions/authentication) to API responses to expose auth-related metadata\n- **\ud83d\udcd8 OpenAPI Augmentation:** Enhance the [OpenAPI spec](https://swagger.io/specification/) with security details to keep auto-generated docs and UIs (e.g., [Swagger UI](https://swagger.io/tools/swagger-ui/)) accurate\n- **\ud83d\udddc\ufe0f Response Compression:** Optimize response sizes using [`starlette-cramjam`](https://github.com/developmentseed/starlette-cramjam/)\n\n## Documentation\n\n[Full documentation is available on the website](https://developmentseed.org/stac-auth-proxy).\n\nHead to [Getting Started](https://developmentseed.org/stac-auth-proxy/user-guide/getting-started/) to dig in.\n\n[pypi-version-badge]: https://badge.fury.io/py/stac-auth-proxy.svg\n[pypi-link]: https://pypi.org/project/stac-auth-proxy/\n[ghcr-version-badge]: https://ghcr-badge.egpl.dev/developmentseed/stac-auth-proxy/latest_tag?color=%2344cc11&ignore=latest&label=image+version&trim=\n[ghcr-size-badge]: https://ghcr-badge.egpl.dev/developmentseed/stac-auth-proxy/size?color=%2344cc11&tag=latest&label=image+size&trim=\n[ghcr-link]: https://github.com/developmentseed/stac-auth-proxy/pkgs/container/stac-auth-proxy\n[codecov-badge]: https://codecov.io/gh/developmentseed/stac-auth-proxy/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/developmentseed/stac-auth-proxy\n[tests-badge]: https://github.com/developmentseed/stac-auth-proxy/actions/workflows/cicd.yaml/badge.svg\n[tests-link]: https://github.com/developmentseed/stac-auth-proxy/actions/workflows/cicd.yaml\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Development Seed  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "STAC authentication proxy with FastAPI",
    "version": "0.10.0",
    "project_urls": null,
    "split_keywords": [
        "authentication",
        " fastapi",
        " proxy",
        " stac"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "406ff8bc7eda8d535ac8d64566a65ffb8743eab96ef685fc94ebf109d3ad49ea",
                "md5": "7f3cbaf27a4c655400482ffe3dcbf9cd",
                "sha256": "49fb7845cd194c5cc92d650d15a957219a31cd0b93aac30eb0abe57e09968036"
            },
            "downloads": -1,
            "filename": "stac_auth_proxy-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7f3cbaf27a4c655400482ffe3dcbf9cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 38603,
            "upload_time": "2025-10-14T19:12:44",
            "upload_time_iso_8601": "2025-10-14T19:12:44.086677Z",
            "url": "https://files.pythonhosted.org/packages/40/6f/f8bc7eda8d535ac8d64566a65ffb8743eab96ef685fc94ebf109d3ad49ea/stac_auth_proxy-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1da70bb0baec309c63fbcee1a08dd82718ce03d3db0a1818e4fd1ed387ff3c2e",
                "md5": "5e9dfe6bc487353099eeb0f1cfe321f2",
                "sha256": "ebb9625df17d7bb0fdc005dc328f178df40f45ddfe99f2b13e03307d43967784"
            },
            "downloads": -1,
            "filename": "stac_auth_proxy-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5e9dfe6bc487353099eeb0f1cfe321f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 255365,
            "upload_time": "2025-10-14T19:12:45",
            "upload_time_iso_8601": "2025-10-14T19:12:45.662817Z",
            "url": "https://files.pythonhosted.org/packages/1d/a7/0bb0baec309c63fbcee1a08dd82718ce03d3db0a1818e4fd1ed387ff3c2e/stac_auth_proxy-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-14 19:12:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "stac-auth-proxy"
}
        
Elapsed time: 0.93613s