Giter Site home page Giter Site logo

Comments (3)

lukadriel7 avatar lukadriel7 commented on June 7, 2024

As a temporary fix, I currently have to set the configuration in the buildAxiosFetch method as

fetch: buildAxiosFetch(axios, (config) => {
    config.withCredentials = true;
    return config;
  }),

from axios-fetch.

mdlavin avatar mdlavin commented on June 7, 2024

I spent some time reading your report, and I'm not completely sure what your primary problem is. I have a couple questions:

  1. Are you reporting a bug about the lack of support for axios.defaults.withCredentials ? It wouldn't surprise me if that was broken, it's not a pattern we use much.
  2. Are you reporting a regression in Axios itself? Does the missing header problem happen with just Axios, or is it specific to axios-fetch?
  3. Is there a smaller testcase that demonstrates the problem, maybe that does not depend on GraphQL? I'd love to update our testsuite to catch a problem and avoid future regressions

from axios-fetch.

lukadriel7 avatar lukadriel7 commented on June 7, 2024

Hello,
I think it's the 1, lack of support for axios.default.withCredentials.
It works while using axios only but not with axios-fetch. I unfortunately do not have a test case without graphql.
I currently do not have access to my computer unfortunately.

from axios-fetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.