title: Angular 8 proxy and oauth2 400 bad request
body: <p>After upgrading my angular-app from angular 7.2.11 to angular 8.1.3.</p>
  
  <p>Angular HttpClientModule doesn't send my oauth2-secured requests when using the proxy.</p>
  
  <ul>
  <li>The angular-app works when i deploy it and don't use the proxy.</li>
  <li>The HttpClientModule works when use the proxy but don't use the oauth2-tokens</li>
  </ul>
  
  <p>Proxy-config:</p>
  
  <pre><code>{
    "/oauth/*": {
      "target": "http://localhost:8090",
      "secure": false,
      "logLevel": "debug"
    },
    "/api/**": {
      "target": "http://localhost:8090",
      "secure": true,
      "logLevel": "debug",
      "changeOrigin": true
    }
  }
  </code></pre>
  
  <p>Oauth2-config (using @auth0/angular-jwt 3.0.0)</p>
  
  <pre><code>HttpClientModule,
      JwtModule.forRoot({
        config: {
          tokenGetter: tokenGetter
        }
      }),
  </code></pre>
  
  <ul>
  <li>The oauth2-calls get proxied</li>
  <li>The api-calls get proxied</li>
  <li>The api-calls with oauth2 bearer header result in 400 Bad request.</li>
  </ul>