Open khankuan opened 8 years ago
Facing the same issue =S
I ended up passing special params to the api constructor to set special headers as cookies. In my web route handler, i had to generate the cookie by doing something like https://github.com/expressjs/session/blob/master/index.js#L605 but excluding res and returning the cookie string instead.
Hi! I noticed that the express session is only setting cookies after the first response. That means on the first SSR, the session can't be used because the cookie is empty and we're forwarding cookies on ApiClient. Any thoughts? Cheers :)