You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kong sends OpenResty HTML response instead of Kong standard JSON response when sending multiple Authorization headers.
<html><head><title>400 Bad Request</title></head><bodybgcolor="white"><center><h1>400 Bad Request</h1></center><hr><center>openresty/1.11.2.2</center></body></html>
Expected result should be in standard error message format like
{
"message": "Unauthorized"
}
Steps To Reproduce
Send request to KONG with multiple Authorization headers
I believe this would be because there is no error page set for HTTP 400 errors (see the default Nginx template). We'd have to investigate if there would be any side-effects (none that I can think of right now).
Summary
Kong sends OpenResty HTML response instead of Kong standard JSON response when sending multiple Authorization headers.
Expected result should be in standard error message format like
Steps To Reproduce
Additional Details & Logs
The text was updated successfully, but these errors were encountered: