React n'envoie pas automatiquement le cookie

fetch and axios indeed do not send credentials automatically with the request,
you will have to specify it by setting the "withCredentials" option to true:

axios.get(`api.com/api`, { withCredentials: true })
  .then((res) => {
    // code
  })
Mohamed Awde