question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cookies are not sent

See original GitHub issue

This issue pertains to the following package(s):

  • GraphQL Playground - Electron App
  • GraphQL Playground HTML
  • GraphQL Playground
  • GraphQL Playground Express Middleware
  • GraphQL Playground Hapi Middleware
  • GraphQL Playground Koa Middleware
  • GraphQL Playground Lambda Middleware

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

1.6.1

What is the expected behavior?

When I set request.credentials: include in settings, cookies should be sent

What is the actual behavior?

Cookies are not sent.

When I downgrade to graphql-playground-middleware-express@1.4.9 everything works just fine.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
rocknrolla777commented, May 18, 2018

@michalkvasnicak it didn’t help. Request doesn’t include cookies.

3reactions
capajcommented, May 18, 2018

I am using graphql-playground-middleware-koa and I have the same issue. @michalkvasnicak how do you pass the request.credentials: include settings to the middleware? Also wouldn’t it make sense to send all cookies by default?

Read more comments on GitHub >

github_iconTop Results From Across the Web

google chrome - How to tell why a cookie is not being sent?
Go to network tab, and click the request that is not being sent with your cookie. · Go to the "Cookies" tab just...
Read more >
7 Keys to the Mystery of a Missing Cookie - Medium
7 Keys to the Mystery of a Missing Cookie · 1. SameSite attribute Defaults to Lax · 2. withCredentials is not Set to...
Read more >
Why third-party cookies are NOT sent where you think they ...
A cookie is associated with a domain. If this domain is the same as the domain of the page you are on, the...
Read more >
Set-Cookie - HTTP - MDN Web Docs
The cookie-sending behavior if SameSite is not specified is SameSite=Lax . Previously, cookies were sent for all requests by default.
Read more >
Cookies, document.cookie - The Modern JavaScript Tutorial
Next time when the request is sent to the same domain, the browser sends the ... Indeed, samesite=strict cookies are not sent in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found