This config is placed on the proxy you want to protect. In NPM, select a Host > Edit > Advanced and paste the below.
You can also get this config directly from Authentik - try both if you are having issues.
You must update the URL for proxy pass to either your local address/container name or the FQDN for your Authentik setup.
Make sure you have changed the authentik proxy pass config. You can use either the internal IP address with port number or public address
proxy_pass https://auth.example.com/outpost.goauthentik.io;
proxy_pass http://10.10.20.25:9090/outpost.goauthentik.io;
We believe in community spirit. As such, the guide for Authentik + NPM has already been written by one of our community members on Reddit, /u/itsmevins. They have kindly given us permission to use it. Instead of rewriting it, here's the direct link to support the author: