2019-02-26 13:50:07 +00:00
# ForwardAuth
2019-03-20 15:36:10 +00:00
Using an External Service to Check for Credentials
2019-02-26 13:50:07 +00:00
{: .subtitle }
![AuthForward ](../assets/img/middleware/authforward.png )
The ForwardAuth middleware delegate the authentication to an external service.
If the service response code is 2XX, access is granted and the original request is performed.
Otherwise, the response from the authentication server is returned.
## Configuration Examples
2019-03-29 11:34:05 +00:00
```yaml tab="Docker"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
2019-03-29 11:34:05 +00:00
labels:
2020-03-13 21:50:05 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
2019-09-05 11:42:04 +00:00
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-10-15 15:34:08 +00:00
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
2020-03-13 21:50:05 +00:00
"traefik.http.middlewares.test-auth.forwardauth.address": "https://example.com/auth"
2019-09-05 11:42:04 +00:00
}
```
```yaml tab="Rancher"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
2019-09-05 11:42:04 +00:00
labels:
2020-03-13 21:50:05 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
2019-09-05 11:42:04 +00:00
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```yaml tab="File (YAML)"
2020-03-13 21:50:05 +00:00
# Forward authentication to example.com
2019-09-05 11:42:04 +00:00
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
## Configuration Options
### `address`
The `address` option defines the authentication server address.
```yaml tab="Docker"
labels:
2020-03-13 21:50:05 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
2020-03-13 21:50:05 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-10-15 15:34:08 +00:00
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
2020-03-13 21:50:05 +00:00
"traefik.http.middlewares.test-auth.forwardauth.address": "https://example.com/auth"
2019-09-05 11:42:04 +00:00
}
```
```yaml tab="Rancher"
labels:
2020-03-13 21:50:05 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.address=https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
```
### `trustForwardHeader`
Set the `trustForwardHeader` option to `true` to trust all the existing `X-Forwarded-*` headers.
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.trustForwardHeader=true"
2019-03-29 11:34:05 +00:00
```
2019-02-26 13:50:07 +00:00
2019-04-03 12:32:04 +00:00
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-04-03 12:32:04 +00:00
trustForwardHeader: true
2019-09-05 11:42:04 +00:00
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.trustForwardHeader=true"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.trustForwardHeader": "true"
}
```
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.trustForwardHeader=true"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
trustForwardHeader = true
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
trustForwardHeader: true
```
### `authResponseHeaders`
2020-10-29 14:10:04 +00:00
The `authResponseHeaders` option is the list of the headers to copy from the authentication server to the request. All incoming request's headers in this list are deleted from the request before any copy happens.
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeaders=X-Auth-User, X-Secret"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-04-03 12:32:04 +00:00
authResponseHeaders:
2019-09-23 15:00:06 +00:00
- X-Auth-User
- X-Secret
2019-04-03 12:32:04 +00:00
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeaders=X-Auth-User, X-Secret"
```
2019-04-15 16:22:07 +00:00
```json tab="Marathon"
"labels": {
2019-09-05 11:42:04 +00:00
"traefik.http.middlewares.test-auth.forwardauth.authResponseHeaders": "X-Auth-User,X-Secret"
2019-04-15 16:22:07 +00:00
}
```
2019-04-08 15:14:08 +00:00
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeaders=X-Auth-User, X-Secret"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
authResponseHeaders = ["X-Auth-User", "X-Secret"]
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
authResponseHeaders:
2019-09-23 15:00:06 +00:00
- "X-Auth-User"
- "X-Secret"
2019-09-05 11:42:04 +00:00
```
2020-10-29 14:10:04 +00:00
### `authResponseHeadersRegex`
The `authResponseHeadersRegex` option is the regex to match the headers that should be copied from the authentication server to the request. All incoming request's headers matching this regex are deleted from the request before any copy happens.
It allows partial matching of the regular expression against the header's key.
You should use start of string (`^`) and end of string (`$`) anchors to ensure a full match against the header's key.
```yaml tab="Docker"
labels:
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeadersRegex=^X-"
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
address: https://example.com/auth
authResponseHeadersRegex: ^X-
```
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeadersRegex=^X-"
```
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.authResponseHeadersRegex": "^X-"
}
```
```yaml tab="Rancher"
labels:
- "traefik.http.middlewares.test-auth.forwardauth.authResponseHeadersRegex=^X-"
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
address = "https://example.com/auth"
authResponseHeadersRegex = "^X-"
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
address: "https://example.com/auth"
authResponseHeadersRegex: "^X-"
```
2020-10-07 14:36:04 +00:00
### `authRequestHeaders`
The `authRequestHeaders` option is the list of the headers to copy from the request to the authentication server.
It allows to prevent passing headers that have not to be passed to the authentication server.
If not set or empty then all request headers will be passed.
```yaml tab="Docker"
labels:
- "traefik.http.middlewares.test-auth.forwardauth.authRequestHeaders=Accept,X-CustomHeader"
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
address: https://example.com/auth
authRequestHeaders:
- "Accept"
- "X-CustomHeader"
```
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.authRequestHeaders=Accept,X-CustomHeader"
```
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.authRequestHeaders": "Accept,X-CustomHeader"
}
```
```yaml tab="Rancher"
labels:
- "traefik.http.middlewares.test-auth.forwardauth.authRequestHeaders=Accept,X-CustomHeader"
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
address = "https://example.com/auth"
authRequestHeaders = "Accept,X-CustomHeader"
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
address: "https://example.com/auth"
authRequestHeaders:
- "Accept"
- "X-CustomHeader"
```
2019-09-05 11:42:04 +00:00
### `tls`
The `tls` option is the TLS configuration from Traefik to the authentication server.
#### `tls.ca`
2019-09-20 15:00:05 +00:00
Certificate Authority used for the secured connection to the authentication server.
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.ca=path/to/local.crt"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
tls:
caSecret: mycasercret
---
apiVersion: v1
kind: Secret
metadata:
name: mycasercret
namespace: default
data:
ca: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.tls.ca=path/to/local.crt"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.tls.ca": "path/to/local.crt"
}
```
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.ca=path/to/local.crt"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
[http.middlewares.test-auth.forwardAuth.tls]
ca = "path/to/local.crt"
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
tls:
ca: "path/to/local.crt"
```
#### `tls.caOptional`
2019-09-20 15:00:05 +00:00
Policy used for the secured connection with TLS Client Authentication to the authentication server.
Requires `tls.ca` to be defined.
- `true` : VerifyClientCertIfGiven
- `false` : RequireAndVerifyClientCert
- if `tls.ca` is undefined NoClientCert
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.caOptional=true"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
tls:
caOptional: true
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.tls.caOptional=true"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.tls.caOptional": "true"
}
```
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.caOptional=true"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
[http.middlewares.test-auth.forwardAuth.tls]
caOptional = true
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
tls:
caOptional: true
```
#### `tls.cert`
2019-09-20 15:00:05 +00:00
Public certificate used for the secured connection to the authentication server.
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
tls:
certSecret: mytlscert
---
apiVersion: v1
kind: Secret
metadata:
name: mytlscert
namespace: default
data:
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
tls.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.tls.cert": "path/to/foo.cert",
"traefik.http.middlewares.test-auth.forwardauth.tls.key": "path/to/foo.key"
}
```
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
2019-04-08 15:14:08 +00:00
```
2019-07-22 07:58:04 +00:00
```toml tab="File (TOML)"
2019-04-03 12:32:04 +00:00
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-09-05 11:42:04 +00:00
[http.middlewares.test-auth.forwardAuth.tls]
cert = "path/to/foo.cert"
key = "path/to/foo.key"
```
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-09-05 11:42:04 +00:00
tls:
cert: "path/to/foo.cert"
key: "path/to/foo.key"
```
2019-09-23 12:32:04 +00:00
!!! info
2019-09-05 11:42:04 +00:00
For security reasons, the field doesn't exist for Kubernetes IngressRoute, and one should use the `secret` field instead.
2019-04-03 12:32:04 +00:00
2019-09-05 11:42:04 +00:00
#### `tls.key`
2019-09-20 15:00:05 +00:00
Private certificate used for the secure connection to the authentication server.
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
2019-09-05 11:42:04 +00:00
```
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-09-05 11:42:04 +00:00
tls:
certSecret: mytlscert
---
apiVersion: v1
kind: Secret
metadata:
name: mytlscert
namespace: default
data:
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
tls.key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0=
```
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.tls.cert": "path/to/foo.cert",
"traefik.http.middlewares.test-auth.forwardauth.tls.key": "path/to/foo.key"
}
```
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.cert=path/to/foo.cert"
- "traefik.http.middlewares.test-auth.forwardauth.tls.key=path/to/foo.key"
2019-09-05 11:42:04 +00:00
```
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-07-01 09:30:05 +00:00
[http.middlewares.test-auth.forwardAuth.tls]
2019-04-03 12:32:04 +00:00
cert = "path/to/foo.cert"
key = "path/to/foo.key"
```
2019-07-22 07:58:04 +00:00
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-07-22 07:58:04 +00:00
tls:
cert: "path/to/foo.cert"
key: "path/to/foo.key"
```
2019-09-23 12:32:04 +00:00
!!! info
2019-09-05 11:42:04 +00:00
For security reasons, the field doesn't exist for Kubernetes IngressRoute, and one should use the `secret` field instead.
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
#### `tls.insecureSkipVerify`
2019-02-26 13:50:07 +00:00
2019-09-20 15:00:05 +00:00
If `insecureSkipVerify` is `true` , TLS for the connection to authentication server accepts any certificate presented by the server and any host name in that certificate.
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
```yaml tab="Docker"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.insecureSkipVerify=true"
2019-09-05 11:42:04 +00:00
```
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
```yaml tab="Kubernetes"
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: https://example.com/auth
2019-10-18 09:50:05 +00:00
tls:
insecureSkipVerify: true
2019-09-05 11:42:04 +00:00
```
2019-02-26 13:50:07 +00:00
2019-10-15 15:34:08 +00:00
```yaml tab="Consul Catalog"
- "traefik.http.middlewares.test-auth.forwardauth.tls.InsecureSkipVerify=true"
```
2019-09-05 11:42:04 +00:00
```json tab="Marathon"
"labels": {
"traefik.http.middlewares.test-auth.forwardauth.tls.insecureSkipVerify": "true"
}
```
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
```yaml tab="Rancher"
labels:
2019-09-23 15:00:06 +00:00
- "traefik.http.middlewares.test-auth.forwardauth.tls.InsecureSkipVerify=true"
2019-09-05 11:42:04 +00:00
```
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
```toml tab="File (TOML)"
[http.middlewares]
[http.middlewares.test-auth.forwardAuth]
2020-03-13 21:50:05 +00:00
address = "https://example.com/auth"
2019-10-18 09:50:05 +00:00
[http.middlewares.test-auth.forwardAuth.tls]
insecureSkipVerify: true
2019-09-05 11:42:04 +00:00
```
2019-02-26 13:50:07 +00:00
2019-09-05 11:42:04 +00:00
```yaml tab="File (YAML)"
http:
middlewares:
test-auth:
forwardAuth:
2020-03-13 21:50:05 +00:00
address: "https://example.com/auth"
2019-10-18 09:50:05 +00:00
tls:
insecureSkipVerify: true
2019-09-05 11:42:04 +00:00
```