allegro / allegro/allegro-api

[NEWS] Przekazuj poprawnie nagłówek Authorization / Provide Authorization header correctly

Aperta
#3,967 0 commenti 0 reazioni 1 assegnatario Rivendicata da @PrzemyslawLukanowski Vedi su GitHub
News
Lingua principale
Nessun dato sulla lingua
Stelle
244
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**12.01.2021 wprowadzimy dodatkową walidację nagłówka Authorization.** Jeżeli w swoich żądaniach:

- nie wstawiasz spacji między “Bearer” a tokenem, np. Authorization: Bearer{token},
- po ‘Authorization’ przekazujesz więcej niż jedną wartość, np. Authorization: Bearer mF_9.B6f-4.1JqM, Basic YXNkZnNhdGZzYWzmOlZLdDVOMVhx,
- przesyłasz więcej niż jeden nagłówek Authorization,

w odpowiedzi zwrócimy kod **401 Unauthorized.**

Upewnij się, że w swojej aplikacji prawidłowo przekazujesz ten nagłówek.

-----

**From January 12th, 2021, we will introduce additional validation of the Authorization header.** If in requests:

- you do not put a space between "Bearer" and the token, e.g. Authorization: Bearer {token},
- after 'Authorization' you provide more than one value, e.g. Authorization: Bearer mF_9.B6f-4.1JqM, Basic YXNkZnNhdGZzYWzmOlZLdDVOMVhx,
- you submit more than one Authorization header,

in the response, we will return the **401 Unauthorized code**.

Make sure you are properly providing this header in your application.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.