Ok I found my problem. I've made 2 instances of axios:
withCredentials option (used to call /api/login_check for the authentication)privateAxiosInstance with withCredentials option (to call the endpoints after the authentication, cf. my question)Conclusion: The first instance of axios must also have the withCredentials option!