Cookies are not being set on cross domain
See original GitHub issueCookies are not being set whenever I make the call from the client side. They are being set when I use tokenAuth mutation in GraphiQL.
Even after setting JWT_COOKIE_DOMAIN
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Set cookies for cross origin requests - Stack Overflow
The reason your CORS cookie can't be set is because Heroku strip down SSL certificate at Load Balancer, so when you try to...
Read more >Understanding CORS and cross-origin cookies | by Sharad Jain
Cross -Origin Resource Sharing (CORS) is an HTTP-header-based mechanism that allows a server to indicate any other origins (domain, scheme, or ...
Read more >Cookies not set for cross domain requests #3267 - GitHub
When I do a post request with axios no cookies are set in the frontend. However, it works fine on localhost with slightly...
Read more >Using HTTP cookies - MDN Web Docs
If the server does not specify a Domain , the browser defaults the domain to the same host that set the cookie, excluding...
Read more >How to send a cookie with a cross-origin XMLHttpRequest ...
This isn't allowed. If you do this, then your XHR request set with withCredentials=true will be sent along with all compliant cookies, BUT...
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 FreeTop 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
Top GitHub Comments
Thanks a lot @chidimo, it worked!
If you’re using apollo client check that you set
credentials: 'include'
increateHttpLink
See https://github.com/flavors/django-graphql-jwt/issues/191#issuecomment-733011647