If your front and back don't have the same origin, you have to add withXSRFToken: true to the Axios config. The withCredentials option no longer adds an XSRF token header to cross-origin requests.
There was a CVE a few weeks ago about withCredentials inadvertently leaking XSRF tokens. They've since added the withXSRFToken option as a workaround.