title: How to add custom http header in response from Azure function
body: <p>I am trying azure function (nodejs) with google authentication from a client side javascript app. I have set up CORS for the correct URL(i.e. <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a>). But I am still getting the following error:</p>
  
  <blockquote>
    <p>Credentials flag is 'true', but the 'Access-Control-Allow-Credentials'
    header is ''. It must be 'true' to allow credentials. Origin
    '<a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a>' is therefore not allowed access.</p>
  </blockquote>
  
  <p>I have tried everywhere on the internet and spent few days to get the answers myself. It seems Azure http response needs to add this Access-Control-Allow-Credentials:true in the header. Is there a way to add custom headers?</p>
  
  <p>Any help will be greatly appreciated.</p>