Snažil jsem se přepsat Cookie a nastavení withCredentials:false, ale to nefunguje:
const request = await axios({
url: '/api/payments',
method: "post",
data: payload,
headers: {
"Content-Type": "multipart/form-data",
"Cookie": "access_token=''",
},
// auth token as httponly cookie
withCredentials: false,
})