Open ibizaman opened 12 months ago
This test should spin up Nginx, Authelia and a stub upstream server that returns in a json response all the headers of requests it receives.
The test should configure Authelia to protect some endpoints of the stub server.
The test should make requests to the Nginx instance and validate the received payload from the stub server ha the correct headers.
Interesting links: https://www.authelia.com/integration/trusted-header-sso/introduction/ https://openidconnect.net/ https://oidcdebugger.com/
good inspiration https://github.com/NixOS/nixpkgs/blob/2b78fe5e0edba4783f9a998a9399d78b7350a910/nixos/tests/dex-oidc.nix#L64-L71
This test should spin up Nginx, Authelia and a stub upstream server that returns in a json response all the headers of requests it receives.
The test should configure Authelia to protect some endpoints of the stub server.
The test should make requests to the Nginx instance and validate the received payload from the stub server ha the correct headers.
Interesting links: https://www.authelia.com/integration/trusted-header-sso/introduction/ https://openidconnect.net/ https://oidcdebugger.com/