Recently my Google chrome got update which is causing issue in my application . My application is using springboot-1.5 in backend and angular 4 in frontend ans also I am using Google Chrome version - 80.0.3987.132 (Official Build) (64-bit) OS version - Windows 10 OS Version 1809 (Build 17763.1098)
the issue is my rest API calls are failing. As i did some investigation and found that 'sameSite' parameter is newly added in cookies if it is enable then create issue. For the fix, i set sameSite=none for JSESSIONID in response
response.setHeader("Set-Cookie", "JSESSIONID="+cookie.get().getValue()+"; HttpOnly; SameSite=none");
and i also tried to update header like below
response.setHeader(HttpHeaders.SET_COOKIE, String.format("%s; %s ; %s", header,"Secure", "SameSite=none"));
This fix is working in some machine but not in all the machine. all the machines are having updated chrome ( version 80) Please suggest me what actually i should do to fix this issue