Cookies are not sent
See original GitHub issueThis 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:
- Created 5 years ago
- Reactions:9
- Comments:14 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@michalkvasnicak it didn’t help. Request doesn’t include cookies.
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?