We are using an open source KONG-OIDC plugin to support the OpenID Connect Relying Party (RP) functionality.
We are also using the HTTP-log plugin to send HTTP messages (particularly to capture the the login and logout events) to an HTTP server. The HTTP-log has been enabled globally.
In 1.2.1, during the serialization process when the HTTP-log plugin invoked ngx.resp.get_headers the Location header was being returned and sent to the HTTP server.
However in 2.0.4, during the serialization process when the HTTP-log plugin invokes ngx.resp.get_headers there is no Location header present.
In both the cases, the browser is getting the correct Location Response Header.
It almost seems like the Location header is not available during the logging phase.
Any recommendations on how to go about debugging this issue is highly appreciated.
HTTP-log, KONG-OIDC plugin (hasn’t changed during the 1.2.1 and 2.0.4 timeline)
Sample seen on the HTTP-Server with Kong 1.2.1