Giter Site home page Giter Site logo

withCredentials = true about redux-query HOT 4 CLOSED

amplitude avatar amplitude commented on June 1, 2024
withCredentials = true

from redux-query.

Comments (4)

ryanashcraft avatar ryanashcraft commented on June 1, 2024

I was wondering how long it would be until someone made an issue for this. 😉 Yes, withCredentials is noticeably absent.

I might get around to this some time, but it'd be great if someone could make a PR for this. Should be relatively simple. Just add a check for withCredentials in the options field and call withCredentials on the superagent request object if it === true. Also need to update the options row in both query config tables in the README.

from redux-query.

RohovDmytro avatar RohovDmytro commented on June 1, 2024

Done that! Thanks for your great lib. Looks veeery promising in the community.

from redux-query.

Thebigbignooby avatar Thebigbignooby commented on June 1, 2024

So,
I'm trying to use this library, but running into issues with CORS

Response to preflight request doesn't pass access control check:
The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard
'*' when the request's credentials mode is 'include'.

not sure i understand fully what this means. ?

from redux-query.

samuelcastro avatar samuelcastro commented on June 1, 2024

Getting the same problem @Thebigbignooby did you manage to fix it?

from redux-query.

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.