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.
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.
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.
According to the Authentik documentation, in order to leverage Traefik with Authentik you must use Forward Auth mode instead of proxying in Traefik.