Re: auth_request with grpc

2019-07-02 Thread bmacphee
I was about to ask a related question. Here is a sample of my config. The only issue is that the gRPC client gets a StatusCode.Cancelled when authorization fails. In this scenario, the auth service at http://auth:5000 is a simple flask application performing the auth with a 3rd party identity pr

auth_request with grpc

2019-06-03 Thread walt
Hi all, I'm attempting to use ngx_http_auth_request_module with grpc. When I pass a valid Authorization header with the grpc request everything works fine. Unfortunately when auth_request fails, the grpc client doesn't seem to register the 401 response from nginx and hangs. Has anyone had success