I want to use a remote authorizer where i can take...
# talk-oathkeeper
r
I want to use a remote authorizer where i can take authorization decisions based on values in the original request body. I implemented authorizer that recieves POST request with the body and returns either 200 or 403. But when I return 200 I am getting "502 Bad Gateway". In Oauthkeeper logs i see below: time=2023-09-09T103535Z level=error msg=http: gateway error audience=application error=map[message:readfrom tcp 10.81.28.3635082 >10.0.214.22880: http: invalid Read on closed Body] service_name=ORY Oathkeeper service_version=v0.40.6