

Authentik - https://goauthentik.io/ - easy to use, flexible and versatile identity provider and single-sign-on server
Authentik behind NginX Proxy Manager: Embeded Outpost 500 Internal Server Error
I am running Authentik in Docker accessible through https://auth.domain.tld. I setup Authentik in Nginx Proxy Manager as following:

I have a couple of services I am trying to setup with Authentik Proxy Authentication. The services running on the same docker network as Authentik, I managed to configure with authentik docker host name and port in NPM configurations:

This works and I am able to Authenticate into the applications successfully.
However, I also have external services that are not connected to Docker Network of Authentik. When using the Authentik Domain instead of its internal hostname i get
proxy_pass
https://auth.domain.tld/outpost.goauthentik.io
;

In Authentik Container I am getting error=websocket: bad handshake
Can anzone help me find the correct NPM configurations for Authentik to be accessble? I found this guid but implimenting it into NPM did not help.
You‘ll have to set the private ip of your docker host
I tried Port Forwarding and ised the IP of the machin with the port. for some reason it also does not work.
Enable httpd2 in the host settings with websocket capabilities
It isenabled.. did not fix it
Make sure your outpost or authentik instance is on the same docker network as npm