Simple echo HTTP server with a fake auth endpoint
Useful for echoing back what it got, such as headers, method, body.
Supported methods:
- OPTIONS
- GET
- POST
Useful for using as a test nginx authentication sub-request. Will pass if given an Authorization
header of Bearer valid-key
, will fail otherwise
Supported methods:
- OPTIONS
- GET
Some kubernetes resource files are provided so that this can run behind an nginx-ingress controller, with the auth-url configured for /
to use /fakeAuth
as the authentication path.