stac-utils / stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support.
https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch
MIT License
24 stars 14 forks source link

Basic Auth bug fix & test fixes. #266

Closed pedro-cf closed 1 month ago

pedro-cf commented 1 month ago

Description: Basic Auth bug fix & test fix.

request.url.path would return the absolute path f.e.: /collections/test-collection request.scope.get("route").path returns /collections/{collection_id} which is correct for matching permissions

PR Checklist:

jonhealy1 commented 1 month ago

Looks good! Can you add a note to the changelog? Thank you.