GSA Auctions API Returns HTTP 303 Redirect to S3 — Correct Authentication Handling?

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
javascript
Domain
api

Research direction

Start by checking the documented endpoint and the redirect behavior described in the issue. Determine whether the 303 response is intentional, how clients should handle the API key on the S3 request, and whether another endpoint or access method is preferred. Done means the supported behavior and authentication guidance are documented or clarified for API clients.

Written by the indexing model from the issue text.

Description

The documented GSA Auctions API endpoint:

https://api.gsa.gov/assets/gsaauctions/v2/auctions

currently returns HTTP 303 with a redirect to:

https://gsa-prod-ppms-attachments-prod.s3.amazonaws.com/auctions/active-auctions.json

Is this redirect an intentional and supported part of the GSA Auctions API?

Should API clients follow this redirect?

If so, should the GSA API key be omitted from the subsequent request to the Amazon S3 destination?

We want to ensure our implementation follows the intended authentication and security model and does not forward API credentials to a destination that should not receive them.

Please also advise whether this redirect behavior is documented elsewhere or whether there is a preferred endpoint/access method clients should use.

Thank you.

Dominant language
JavaScript
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GSA/auctions_api

All issues in GSA/auctions_api

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.