@Jackson Chen I have received the information that this issue may be related to SameSite updates and so, the sample has been updated to handle the SameSite issues. Please let us know if this does not resolve the issues.
Please take a look at this article to know more about samesite cookie.
Please "Accept as answer" wherever the information provided helps you to help others in the community.