title: How to setup Angular and OpenId behind load balancer
body: <p>I'm trying to use cross domain authentication in my Angular/.net Core 2.0 app using OpenId. </p>
  
  <p>for this purpose I'm using angular-auth-oidc-client package. the authentication API is behind a load balancer and I'm currently getting an error in browser .</p>
  
  <blockquote>
    <p>Failed to load <a href="https://xyz//.well-known/openid-configuration" rel="nofollow noreferrer">https://xyz//.well-known/openid-configuration</a>: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="http://localhost:5002" rel="nofollow noreferrer">http://localhost:5002</a>' is therefore not allowed access. The response had HTTP status code 404.</p>
  </blockquote>
  
  <p>How to add equivalent of <code>ForwardedHeadersOptions</code> (.net core) in Angular 4?</p>
  
  <p>Is there any other package for <code>Angular</code> which provides the option to set the ForwardedHeaders ?</p>