Open junmcao opened 2 years ago
Hi @juncao97, we suspect this is related to a known issue where POST requests are not working when you have include_body
in your auth service or external filter. As you have max bytes set and are getting a 403, that seems to match up with this known bug. (For internal reference)
Describe the bug Currently have the AuthService set up with an External Filter and Filter Policy. The external auth service is not having the request be redirected by the external filter.
After the live debug session, I have set the DNS host to resolve to the load balancer IP for the services.
Previous error:
New error:
Expected behavior A request being made to https://host.com/service1 should be able to be redirected by the external filter to the external auth service at https://host.com/auth/authservice and redirect the request after being authorized to the upstream service.
Versions (please complete the following information):
Additional context
Possible issues outlined in the live debug call
A bug outlined in the call is that the AuthService configuration must have include_body.allow_partial=true otherwise Ambassador will say that it is not set when it is false as that is the default.