backend_response
not usable in OIDC token and userinfo requests
#797
Labels
bug
Something isn't working
backend_response
not usable in OIDC token and userinfo requests
#797
Describe the bug
The variable
backend_response
is not usable when custom-logging OIDC token and userinfo responses. However it can be used when custom-logging openid-configuration and JWKS responses.To Reproduce
Steps to reproduce the behavior:
couper version
ordocker run coupergateway/couper version
*.hcl
. Remove sensitive data.Provide a
curl
call for reproduction3.1 You may use your browsers developer console and hit
copy as curl
.See an error response or error log.
Here you see in the log entries for the openid-configuration and the jwks requests, that, in addition to
foo:bar
, there is also thebr
entry representing the JSON response body.In the log entries for the token and userinfo requests only
foo:bar
is logged, nobr
entry.And: the logged request name for token and userinfo requests is
<nil>
.Expected behavior
I expect that the response received from the token and userinfo requests can also be custom-logged.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: