Skip to content

Conversation

@vprivat-ads
Copy link
Contributor

Followup of #595

Our STAC server requires authentication thanks to a custom x-api-key http header. Currently, we face this validation error:

pystac-client threw exception while testing pagination {"code":"Unauthorized","description":"<our error message when the authentication header is missing>"}

Indeed stac-api-validator performs two calls to pystac-client without providing the configured headers. This PR solves this.

@gadomski gadomski self-requested a review August 7, 2025 12:28
@gadomski gadomski merged commit 89fce60 into stac-utils:main Aug 11, 2025
10 checks passed
@vprivat-ads vprivat-ads deleted the fix/headers-pystac-client branch August 11, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants