Comments (3)
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.
I spent some time reading your report, and I'm not completely sure what your primary problem is. I have a couple questions:
- 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. - Are you reporting a regression in Axios itself? Does the missing header problem happen with just Axios, or is it specific to axios-fetch?
- 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.
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)
- Form-data not serializing correctly
- node-fetch vulnerability HOT 1
- Error fetching and displaying characters from other languages HOT 12
- TypeError: Cannot read properties of undefined (reading 'name') HOT 1
- Support 204 no-content for node 18
- Unable to integrate with Angular
- Not working in IE11 HOT 5
- An in-range update of nock is breaking the build 🚨 HOT 2
- axios-fetch won't let me intercept 401 failed requests HOT 3
- 1.5.0 Release breaks Apollo HOT 4
- `.finally()` is not a function HOT 5
- GET requests have data as string "undefined"
- Error raised if someone goes offline and attempts a request HOT 5
- Unable to import useAxiosFetch as an ES6 module HOT 1
- Promise<Response>' is not assignable to type 'AxiosFetch'
- Abort requests via FetchInit signal abort HOT 1
- `fetch` should also accept `Request` object
- Do not require `node-fetch` for browser targets HOT 1
- Update package.json types to reference index.d.ts HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axios-fetch.