title: Can't access cookie with HttpOnly flag from my React app using universal-cookie
body: <p>I'm setting up CSRF in my React application and I'm trying to access a cookie that has been set by my Node server.</p>
  
  <p>I'm using <code>universal-cookie</code> to try to read the cookies. I can access some of the cookies, just not the one I need.</p>
  
  <p>The cookies look like:</p>
  
  <pre class="lang-none prettyprint-override"><code>csrf_token_secret=s%3AXfLOSTp6QNLTeRk;
  Path=/; Expires=Tue, 20 Mar 2018 12:34:34 GMT; HttpOnly
  
  _csrf=PqswrVPP4GUePCh-0fFewrHh; Path=/
  </code></pre>
  
  <p>Using <code>universal-cookie</code> I tried:</p>
  
  <pre><code> const cookies = new Cookies();
  
   console.log(cookies.get('csrf_token_secret')); 
   console.log(cookies.get('_csrf')); 
  </code></pre>
  
  <p>I can access <code>_csrf</code> just fine but I can't get the value of <code>csrf_token_secret</code>.</p>
  
  <p>What do I need to do differently to get the value of this cookie? I assume it has something to do with the <code>HttpOnly</code> flag?</p>