fix: forward request headers when checking existing - #201
vincentsarago wants to merge 1 commit into
Conversation
|
Claude finished @vincentsarago's task in 2m 2s —— View job Claude's Task List
✅ No blocking issues — safe to merge. The fix is correct and well-scoped: Non-blocking observations:
Simplify (ponytail)
💰 Estimated review cost: $0.75 · 2m01s · 21 turns |
|
@alukach could you review this one 🙈 ? |
@vincentsarago This doesn't make sense to me. Why does the private STAC API require the authorization header? |
🤔 well, stac-auth-proxy will call the API itself to check the existing items, so if the API requires authorization, stac-auth-proxy should have the headers |
And this is an experience that you're having? You have a STAC API that requires authentication in addition to the STAC Auth Proxy (which is commonly where authentication requirements are imposed)? |
|
We use stac-auth-proxy middlewares integrated within our application, so yes the endpoints requires authentication |
disclaimer: This PR was mostly done by Claude but I reviewed all the steps
I hit an issue when trying to create/update/delete collections (using PUT requests) where I got 502 errors 👇