Skip to content

Support of withCredentials upload option #43

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

Closed
ricventu opened this issue Oct 3, 2024 · 0 comments · Fixed by #44
Closed

Support of withCredentials upload option #43

ricventu opened this issue Oct 3, 2024 · 0 comments · Fixed by #44

Comments

@ricventu
Copy link
Contributor

ricventu commented Oct 3, 2024

When authentication to the backend is done via session cookies and XCSRF cookies, you need to set withCredentials to true in XMLHttpRequest to be able to upload.

You could add this option to UploadConfig.

Dropzone has this option in the configuration-options

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant