Please refer to the following picture.
Front-end code calls back-end api to login a user. Back-end is done using Expressjs 4 and cookie store uses redis.
What confuses me is after login is successful, I can see there is cookie set by expressjs using Chrome Inspector, but
document.cookie
Shows nothing. You can use "document.cookie" to set and read cookie of your own, which works fine. But I can't read the one set by back-end API as shown in the above screen picture.
Question
How to read cookie set by back-end API? or What did I miss here?