Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

nese/forwardcookie

Repository files navigation

Traefik Forward Cookie Plugin

Because of the current(05-08-2022) implementation of the forward-auth middleware within traefik you currently are unable to receive cookies set by the endpoint for forward-auth.

This plugin provides the necessary basis for forwarding an http-request and handling the cookie that is provided from the endpoint.

Configuration

In order to get this up and running you are required to configure the following fields:

testData:
  addr: "my.addr.com"
  cookies:
    - "response-cookie"
  headers:
    - "request-header"
  parameters:
    - "query-param"
  • addr: the target address to send HTTP/HTTPs request
  • cookies: list of all the cookies that you want to receive to the client
  • headers: list of headers that may be required by the HTTP/HTTPs request
  • parameters: list of all of the parameters that may be required by the HTTP/HTTPs request

About

A traefik plugin built for forwarding cookies back to the client based.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •