apollo
apollo copied to clipboard
fix(plugin): take token from cookie even if proxyCookies is disabled
At first glance, you may think that proxyCookies should only enable/disable if the cookies from the client should be sent to the GraphQL server and should have nothing to do with the Authorization header, but in reality proxyCookies will also make to completely also strip away the Authorization header which comes from the token variable.
At the moment, we fixed this using a patch in node_modules.
Deploy Preview for apollo-module canceled.
| Name | Link |
|---|---|
| Latest commit | ec5d2679ce582bbc46d76d5739275b182dd76c94 |
| Latest deploy log | https://app.netlify.com/sites/apollo-module/deploys/663b9e330f82ba00089847d2 |
Is anyone available to look into this PR?
cc @Diizzayy