Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass Authorization via msg.authorization #21

Merged
merged 1 commit into from
Jan 22, 2021
Merged

pass Authorization via msg.authorization #21

merged 1 commit into from
Jan 22, 2021

Conversation

derFrickler
Copy link
Contributor

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.

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.
@rgstephens
Copy link
Owner

Thanks for this PR!

@rgstephens rgstephens merged commit 20d9cd1 into rgstephens:master Jan 22, 2021
@derFrickler
Copy link
Contributor Author

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

@jeffdyoung
Copy link

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

@rgstephens
Copy link
Owner

Just published!

@rgstephens rgstephens mentioned this pull request Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants