I just finished setup a traefik instance and before make it accessible by everyone I want to use authentik as forwardAuth. I created the middleware but it don't show up in the traefik dashboard and I have this error in the traefik logs
middleware "authentik@docker" does not exist" entryPointName=https routerName=whoami@docker
I have try with authentik@file but same error
entryPoints: web: address: ":80" http: redirections: entryPoint: to: "https" scheme: "https" https: address: ":443" forwardedHeaders: trustedIPs: "184.108.40.206/20,220.127.116.11/22,18.104.22.168/22,22.214.171.124/22,126.96.36.199/18,188.8.131.52/18,184.108.40.206/20,220.127.116.11/20,18.104.22.168/22,22.214.171.124/17,126.96.36.199/15,188.8.131.52/12,184.108.40.206/13,220.127.116.11/22,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8" certificatesResolvers: cloudflare: acme: email: "firstname.lastname@example.org" storage: "/etc/traefik/acme.json" dnsChallenge: provider: "cloudflare" delayBeforeCheck: 0 resolvers: - "18.104.22.168:53" - "22.214.171.124:53" - "126.96.36.199:53" disablePropagationCheck: true api: dashboard: true insecure: true # Configuration des fournisseurs de services providers: docker: exposedByDefault: false #Configuration des middlewares http: middlewares: authentik: forwardAuth: address: https://auth.domain.tld/outpost.goauthentik.io/auth/traefik trustForwardHeader: true authResponseHeaders: - X-authentik-username - X-authentik-groups - X-authentik-email - X-authentik-name - X-authentik-uid - X-authentik-jwt - X-authentik-meta-jwks - X-authentik-meta-outpost - X-authentik-meta-provider - X-authentik-meta-app - X-authentik-meta-version
I'm new to traefik so I think I didn't a part of the docs correctly
Thanks for your help !!