01/30/2023, 3:05 AM
I had one more problem, couldn't figure out what's wrong after spending couple of hours. I have three apps. 1) Nodejs api ( 2) Angular SSR ( [sessionScope="" in the UI] and for api set [cookieDomain=""] 3) Angular SPA ( According to the doc I did all the configuration ( In production, I can authenticate user on and set sAccessToken, sRefreshToken on domain I have sameSite = "none", also it is reflecting in the cookie tab. I can see the cookies in inspection mode, in However when xhr request is send to from, cookies are not being attached. Everything works great in localhost. What am I missing ? Also in the angular SSR app frontend what would be the apiDomain and websiteDomain ?


01/30/2023, 5:27 AM
hey @hehohesda
if the node API and frontend are on different base domains, then cookies cannot be shared - since sharing of cookies is only possible across sub domains.


01/30/2023, 5:02 PM
ohh is that so. All the time I thought we can share cookies across different domains. Thank you
What is the significance of sameSite ?