Skip to main content

Forward authentication

Delegate authentication to an external service, like Authelia or oauth2-proxy.

TypeforwardAuth
CategoryAccess

Fields​

FieldTypeRequiredDefaultDescription
authUrltextyes—Service that authorizes each request (2xx = allow).
authSignIntextno—Where to redirect unauthenticated users.
forwardHostHeaderstrue/falseno—Forward host headers.
insecureSkipVerifytrue/falseno—Don't verify the auth service's TLS certificate.
authRequestHeaderslist of textno—Request headers copied onto the call to the auth service. Empty sends the default set. Example: Authorization.
authResponseHeaderskey/value pairsno—Headers the auth service returns, forwarded to your app. Leave the second column blank to keep the same name.
authResponseHeadersAsParamskey/value pairsno—Same idea, but the value arrives as a query parameter instead of a header.
addAuthCookiesToResponselist of textno—Cookies set by the auth service that should reach the browser. Empty returns all of them. Example: session_id.