Issues .NET Core, Auth0 and NGINX

i have problems configuring my ASP.NET Blazor app using auth0 with a NGINX reverse-proxy.
I tested the Blazor app on my local machine and everything went well. After deploying it to a docker environment with a nginx reverse-proxy i get the following issues:
I get this prompt that I am connecting to an insecure connection. And after confirming that i ran into the next issue (i assume this issue is following out of the insecure-connection-issue).

Can someone help me with that?
Kind regards

My fix was the following:

var forwardingOptions = new ForwardedHeadersOptions()
    ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
forwardingOptions.KnownNetworks.Clear(); // Loopback by default, this should be temporary
forwardingOptions.KnownProxies.Clear(); // Update to include


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.