CodeGenieApp / CodeGenieApp/serverless-express

`Authorization` headers not passed properly through Api Gateway v1.

Aperta
#670 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
5.3k
Fork
676
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When attempting to pass `Authorization` headers, its accessible via `events.headers` directly, but not through the `event` object via `event.headers`. Seems to be related to #437 #464.

The patch suggested by #437 seems to work as expected, but would like to see this implemented into this library.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the API Gateway v1 request adapter that builds event.headers, then compare it with the events.headers path described in the issue and review related issues #437 and #464. Done means Authorization is available through event.headers as well as events.headers, with the behavior verified by the project's existing tests.

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

Valutazione

Stack tecnologico
aws, express, javascript, node.js
Ambito
api, backend, cloud
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.