Authorization Headers not getting filled from context
#4034
-
I set up a mesh server and I need to pass a bearer token in an authorization header. I have followed all the examples and I get an empty Here is an example meshrc:
When I log the headers in the backend application, Here is an example code sandbox (although, I don't know how to modify headers in the sandbox). When I run this code locally, the headers do not get passed to the backend. If I use the https://codesandbox.io/s/musing-keldysh-nmm8pe Here is the example code if you want to try run it: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm going to mark this as answered because it turns out that the example I wrote is working correctly. However, the application I'm working on behaves differently and the |
Beta Was this translation helpful? Give feedback.
I'm going to mark this as answered because it turns out that the example I wrote is working correctly. However, the application I'm working on behaves differently and the
context
object does not have aheaders
attribute. I'll try to write an example that reproduces this.