rgstephens / node-red-contrib-graphql

A NodeRed node to execute GraphQL Queries
13 stars 23 forks source link

pass Authorization via msg.authorization #21

Closed derFrickler closed 3 years ago

derFrickler commented 3 years ago

Authorization header can now optionally be passed via msg.authorization field. Allows to get the authorization token from another source or a previous call instead of specifying it in the graphql connection. In my case i have to do a graphql call with user/pass to gain the token and then pass this one in the other calls.

Would be really great if you could add that to your branch and update the npm package. Thanks a lot.

rgstephens commented 3 years ago

Thanks for this PR!

derFrickler commented 3 years ago

Thanks for integrating! When will the npm package be updated?

jeffdyoung commented 3 years ago

Hey @rgstephens sorry to bother you, but do you know when this can be published? How can I help move this forward? Thanks!

rgstephens commented 3 years ago

Just published!