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

Cookies are missing from Request Headers #23

Open
vict-shevchenko opened this issue May 25, 2015 · 3 comments
Open

Cookies are missing from Request Headers #23

vict-shevchenko opened this issue May 25, 2015 · 3 comments
Labels

Comments

@vict-shevchenko
Copy link

Hi, I have tried using a plugin, and I observe an issue, that cookies parameter is missing from request headers.

In case I use --disable-web-security flag Cookies parameter is on place.

Thanks.

@vitvad vitvad added the bug label Jun 17, 2015
@vitvad
Copy link
Owner

vitvad commented Jun 18, 2015

to send cookies need send response with Access-Control-Allow-Credentials: true
and change Access-Control-Allow-Origin from * to more specific url
I will update extension to make available specify Origin, and read it from request if it was specified in code.
this will be fixed in next release. Or you can send pull request.

to read about this:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials

@vict-shevchenko
Copy link
Author

Thanks a lot for clarification. This makes things more understandable.

@smchae
Copy link

smchae commented Dec 5, 2016

First of all, thank you for this great extension.

any update on this issue?

I am trying to debug login/logout but because cookie created when logged in and cookie created when trying to logout are different, I cannot debug properly. (even with things that requires logged in status)

Is there any way I can set access-control-allow-credentials to true ? I would like to debug while cookie is remained the same, so that logged in status is preserved.

Any advice or suggestion would be appreciated. Thank you.

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

No branches or pull requests

3 participants