I've been working with this issue of trying to set the authorization header in the relay environment after the user signs-in. I've tried this suggestion React relay injectNetworkLayer is not a function I have tried using a class that wraps the environment has a token property that when updated creates the Authorization header and places the token into it. This also threw an error. There has to be a way to do this but I can't figure it out.
Asked
Active
Viewed 104 times