NAME

IO::K8s::Traefik::V1alpha1::ForwardAuth - ForwardAuth holds the forward auth middleware configuration.

VERSION

version 1.108

addAuthCookiesToResponse

AddAuthCookiesToResponse defines the list of cookies to copy from the authentication server response to the response.

address

Address defines the authentication server address.

authRequestHeaders

AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server. If not set or empty then all request headers are passed.

authResponseHeaders

AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.

authResponseHeadersRegex

AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex. More info: https://doc.traefik.io/traefik/v3.7/reference/routing-configuration/http/middlewares/forwardauth/#authresponseheadersregex

authSigninURL

AuthSigninURL specifies the URL to redirect to when the authentication server returns 401 Unauthorized.

forwardBody

ForwardBody defines whether to send the request body to the authentication server.

headerField

HeaderField defines a header field to store the authenticated user. More info: https://doc.traefik.io/traefik/v3.7/reference/routing-configuration/http/middlewares/forwardauth/#headerfield

maxBodySize

MaxBodySize defines the maximum body size in bytes allowed to be forwarded to the authentication server.

maxResponseBodySize

MaxResponseBodySize defines the maximum body size in bytes allowed in the response from the authentication server.

preserveLocationHeader

PreserveLocationHeader defines whether to forward the Location header to the client as is or prefix it with the domain name of the authentication server.

preserveRequestMethod

PreserveRequestMethod defines whether to preserve the original request method while forwarding the request to the authentication server.

tls

TLS defines the configuration used to secure the connection to the authentication server.

trustForwardHeader

TrustForwardHeader defines whether to trust (ie: forward) all X-Forwarded-* headers.

Deprecated: Use forwardedHeaders.trustedIPs at the EntryPoint level instead, and set trustForwardHeader to true on this middleware.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004