New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axios withCredentials not being passed from nuxt.config.js #168
Comments
This issue as been imported as question since it does not respect axios-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload. |
You are not doing anything wrong, it is a bug. I had the same problem and resolved similarly. But that is a serious issue and needs to be reopened |
This is still an issue. Here is a quick workaround, you can do in
|
@daniel-payne @husayt |
I'm having the same issue. Without Interestingly:
|
I"m having the same issue with SSR, any luck? |
@daukadolt any solutions? |
It's worth pointing out that for I handle all my API communication via a custom
|
@pi0 can closed? |
I has to add this plugin to nuxt.config.js auth options as well, to allow cookies to be set from login endpoint.
|
Maybe someone finds this helpful - as a nuxt noob I never changed my async fetch calls to use |
i had a problem that withCredentials was not being picked up from the nuxt.config.js
so i added an axios plugin with
and everything worked for me,
any idea what i was doing wrong?
The text was updated successfully, but these errors were encountered: