- Jun 14, 2019
-
-
Alex Ellis authored
This corrects an issue where the error body was being hidden for the external auth handler. It also adds the ca-certs into the runtime Docker image for when the gateway is calling an external plugin exposed over HTTPS. Tested with OAuth2 plugin. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 07, 2019
-
-
Alex Ellis authored
Fixes issue by adding unit test to make sure the body from the plugin is written correctly and proxied to the client. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Fix for external auth wrapper handler. Written by introducing a broken unit test. Whenever the auth plugin returns a request as not authorized, we must pass back any headers set by the plugin. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
Fixes issue found in e2e testing where the headers were not being passed to the basic-auth-plugin. This change makes sure the upstream check gets all headers copied in before making the call. Tested with negative unit tests before writing fix. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
- Jun 05, 2019
-
-
Alex Ellis authored
Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
These two functions are effectively the same, with the former being a wrapper for the later. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
An explicit timeout is passed to the handler and a new unit test proves that the functionality is in place. A additional return statement was needed in the handler as pointed out by @stefanprodan. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-
Alex Ellis authored
This commit adds an external auth handler which can be used to wrap existing handlers, so that they delegate their requests to an upstream URL before allowing a request to pass through to an upstream API. New handler tested with unit tests. Signed-off-by:
Alex Ellis <alexellis2@gmail.com>
-