I have a preview environment on azure for both frontend and backend. The backend deployed on azure container apps and the frontend on azure static web apps (The front and the back are separated repos thus the separation).
The frontend built as SPA with Tanstack
I'm having issue when authenticating, im logging via otp, and im redirected to my dashboard but after a split second im redirected once again to the login page. Upon inspecting the request, it seems my request doesn't sends cookie to the backend thus not compliting the flow. More over, I understood that the issue might be due to modern browser restrictions where root domains couldn't pass to each other cookies.