progressively-crew / progressively

The Open Source Product Control Tower

Home Page:https://progressively.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cookie is not forwarded to the server when doing SSR

mfrachet opened this issue · comments

Describe the bug

The cookie is not passed to the backend from an app using SSR

To Reproduce

  • Go to an SSR app without fields, using anonymous users
  • Refresh the page
  • Check the response set-cookie and keep in mind the progressively-id
  • Re-refresh the page
  • Check the response set-cookie and keep in mind the progressively-id

The two progressively-id are different

Expected behavior

They should be the same

Test have been written in #55 to lock the behaviour.

However, the cookie id forwarding is done in user lands. It would be interesting to make it happen in progressively somehow

Seems that there is not other solutions for now. If we manage to find something less verbose, we ll do it