When having a local frontend and a backend online, sameSite cookies can become a debugging hurdle.
When I encounteted the problem, I wrote this practical post to resolve the problem via browser configurations: https://timdaub.github.io/2020/12/03/samesite/