Skip to main content

Forward authentication

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

TypeforwardAuth
CategoryAccess

Fields

FieldTypeRequiredDefaultDescription
authUrltextyesService that authorizes each request (2xx = allow).
authSignIntextnoWhere to redirect unauthenticated users.
forwardHostHeaderstrue/falsenoForward host headers.
insecureSkipVerifytrue/falsenoDon't verify the auth service's TLS certificate.
authRequestHeaderslist of textnoRequest headers copied onto the call to the auth service. Empty sends the default set. Example: Authorization.
authResponseHeaderskey/value pairsnoHeaders the auth service returns, forwarded to your app. Leave the second column blank to keep the same name.
authResponseHeadersAsParamskey/value pairsnoSame idea, but the value arrives as a query parameter instead of a header.
addAuthCookiesToResponselist of textnoCookies set by the auth service that should reach the browser. Empty returns all of them. Example: session_id.