Set-Cookie from Remote API not working
<p>I'm currently on project that needs to use an httpOnly cookie. The project requires a direct call to the API.</p>

<p>Let's say it's <code>xxx.com/vx/auth/login</code> that authenticates user login attempt. That endpoint will give response and also set-cookie to the client. Something like this:</p>

<p><code>Set-Cookie:token=eyJ0b2tlbiI6ImV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUoxYVdRaU9pSXhNREEwT0RJd05DSXNJbDlwWkNaNkluWXhYM1Z6WlhKekx6RXdNRFE0TWpBMElpd2libUZ0WlNJNklrRm5kVzVuSUZOMWNubGhJRUpoYm1kellTSXNJbVZ0WVdsc0lqb2ljR0ZwYm1GdVpHVnpkR2x1WldSQWVXRm9iMjh1WTI5ddlpd2liR1YyWld3aU9qQXNJbWxoZENJNk1UUTNOek0zTVRnMk55d2laWGh3SWpveE5EYzNOVFEwTmpZc2ZRLmtUN0IzNW9YYjQ2RmU3WWFLYkd4MXhoYkdGUWJ1TFg1U053N3FWSjNfa2siffQ==; expires=Thu, 27 Oct 2016 05:04:27 GMT; path=/; HttpOnly
</code></p>

<p>But when I look at the <code>devtools</code>, the cookie is not set. Even after I refresh several times.</p>

<p>What do I miss here? Do I need to create a proxy to handle this? * I used to use proxy and it works well</p>