I’m running into the same issue as @spondbob has discussed in this convo:(Lost cookies in proxy redirect). Wasn’t sure whether starting a new thing or jumping on his conversation was the best course. So I flipped a coin.
Lay of the Land
Backend is sitting on Heroku.
Both the UI and API have the same domain, but a different subdomain. The Netlify toml file seems to be working as expected, and the requests to the API endpoints seem to work. The app name is “thepackrat-alpha”. Auth is being handled through passport JS, using Facebook SSO.
The cookie doesn’t seem to want to set. It’s HTML only, or at least it should be. Below is the x-nf-request-id’ header used in the page load that follows an oAuth redirect.
And the following is the x-nf-request-id header for the subsequent API request:
For the redirect call that actually sets the cookie, I was not able to track this header down; I don’t think it exists.
I’m starting this new topic as the two ones I found through Google and these boards seemed to have petered off without a solution.
Thanks in advance!