Skip to content
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

Missing Cookies on CORS requests #283

Open
mfrro opened this issue Jul 5, 2024 · 0 comments
Open

Missing Cookies on CORS requests #283

mfrro opened this issue Jul 5, 2024 · 0 comments

Comments

@mfrro
Copy link

mfrro commented Jul 5, 2024

Cookies aren't sent along with CORS requests. A use case for this is access to private resources, where access tokens are stored in cookies. For example AWS CloudFront with signed cookies.

Simple fix would be to just set withCredentials=true for image requests.

http.withCredentials = false;

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

No branches or pull requests

1 participant