Try Adding your domain in it. Like this.
res.set_cookie(
key="SOME_KEY",
value=cookie_value,
httponly=True,
samesite="none",
path="/",
max_age=1000,
expires=COOKIE_EXPIRY_DATE_TIME,
secure=True,
domain="example.com", # <-- Add this line
)