I’m hoping you can help me out again.
I’ve got 2 Node Web services (Nuxt frontend and Express backend, different domains) on Render that are running well with no apparent issues except… cookies that are generated in the backend are not being received on the frontend (set-cookie header is missing). My cookie is configured as such:
cookie: {
maxAge: 24 * 60 * 60 * 1000, // Expires in 24hrs
httpOnly: true,
sameSite: 'none',
secure: true
}
There are some reports online that load-balanced setups need to proxy any cookies (https://serverfault.com/questions/601498/cookies-not-setting-in-load-balanced-environment) - could this potentially be the issue?
Do you have any insight as to how to securely configure cookies on your Web Services so that they can be sent between those Web Services?
Thanks in advance!