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

Aperta
#30 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
api

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
3
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GSA/auctions_api

Tutte le issue di GSA/auctions_api

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.