-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
CSRF Token Mismatch #6336
Comments
If this is a regression in the code, it would be in this file: https://github.com/axios/axios/blob/v1.x/lib/adapters/xhr.js |
i have added the withXSRFToken now it's working now, thank you |
No worries! Any time @rcapulsuhay ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using v1.6.8, I'm encountering CSRF Token Mismatch in Laravel Sanctum. I saw from this forum
that axios must downgrade to v1.3.3 and now everything is working.
To Reproduce
No response
Code snippet
Expected behavior
No response
Axios Version
1.6.8
Adapter Version
No response
Browser
any
Browser Version
latest
Node.js Version
21.7.1
OS
windows
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: