You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with a GraphQL API that requires authorization with a token (authorization header option passed with each request). With each session the token changes, and I have to manually update it in graphql.config.json. I have not yet found a way to pass e.g. process.env.ACCESS_TOKEN, but maybe there is some way to achieve that? If not, then it would be great to have node env variables to override at least headers in graphql.config.json, although it may not be possible, because the app and the plugin work in separate node environments...
The text was updated successfully, but these errors were encountered:
I am working with a GraphQL API that requires authorization with a token (
authorization
header option passed with each request). With each session the token changes, and I have to manually update it ingraphql.config.json
. I have not yet found a way to pass e.g.process.env.ACCESS_TOKEN
, but maybe there is some way to achieve that? If not, then it would be great to have node env variables to override at leastheaders
ingraphql.config.json
, although it may not be possible, because the app and the plugin work in separate node environments...The text was updated successfully, but these errors were encountered: