Can't get cookie with cors

im setting a cookie with set cookie from server to react app in another domain with all the relevant heders:
“set-cookie”: “test=tests;samesite=none;secure=false;”,
“Access-Control-Allow-Headers” : “set-cookie, cookie; samesite=none;secure”,
“Access-Control-Allow-Origin”: “http://somedomain.com”,
“Access-Control-Allow-Methods”: “OPTIONS,POST,GET”,
“Content-Type”: “application/json”,
“Access-Control-Allow-Credentials”: “true”,

and i can see the set-cookie header in responce but the cookie isn’t getting set in chrome.

can someone help with this issue?

if you can see the cookie in next api request to the cors domain it is ok you dont need to see the cookie in the application in dev-tools.

p.s. you can see it in cookie tab on the request itself!