Authentik and Traefik Integration
Inspiration and Credit: Brokenscripts
This guide assumes you have a Traefik installation v2.7 or higher by following the instructions/install script outlined on our Docker Gihub Traefik page.
Traefik Network name
Ensure you take note of the Traefik network name you create when you deploy Traefik. For the purposes of this guide, the traefik network name we will be using is proxy.
Authentik DNS Record
Ensure you have created a DNS record for Authentik. For the purposes of this guide, the DNS record we will be using is sso.domain.tld.
Forward Auth
According to the Authentik documentation,documentation, in order to leverage Traefik with Authentik you must use Forward Auth mode instead of proxying in Traefik.