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

Unclear about how to deal with cookies #142

Closed
crispen-smith opened this issue May 16, 2015 · 2 comments
Closed

Unclear about how to deal with cookies #142

crispen-smith opened this issue May 16, 2015 · 2 comments

Comments

@crispen-smith
Copy link

I think my cookies are not being sent automatically, I'd expect this should happen as it's a request to the same-origin as the page from which I'm calling Fetch.

This is resulting in my sessions disappearing for requests made via fetch.

@mislav
Copy link
Contributor

mislav commented May 16, 2015

Unfortunately, the spec requires you to explicitly set the credentials: 'same-origin' option for every fetch() invocation in order to get this behavior. #56 (comment)

@mislav mislav closed this as completed May 16, 2015
@crispen-smith
Copy link
Author

I don't mind doing that, know that I know it's in the spec. Problem for me was I wasn't clear on how to even google for a driver of this issue. Thanks for a super quick response.

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

No branches or pull requests

2 participants