Both my Authentik and Nextcloud instances are sitting behind a traefik reverse proxy in a kubernetes cluster
I am following the following tutorials for the setup:
https://www.schiessle.org/articles/2023/07/04/nextcloud-and-openid-connect/
However, if use their internal DNS names for the discovery and redirect URIs (or just the discovery), Nextcloud tries to redirect me to the internal Authentik URL for authentication.
What am I missing?
How can I setup OIDC auth when the provider and relying party are sitting behind a reverse proxy?