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

add bearer auth capabilities to http transport; #1662

Merged
merged 3 commits into from
Aug 15, 2019

Conversation

georgeonofrei
Copy link
Contributor

No description provided.

@georgeonofrei
Copy link
Contributor Author

has some connection to #1020

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is generally a useful feature - thanks! Requested some minor improvements, can approve after they're addressed.

Also, if you merge master into your branch, CI should pass now

@georgeonofrei
Copy link
Contributor Author

One other thing i can improve is the typescript definition to force the developer to use either bearer or basic. right now both could be filled in and result in some oddities.

@DABH
Copy link
Contributor

DABH commented Aug 15, 2019

I think if both are set then it's more or less user error. One could imagine some weird backends too where you'd want that flexibility. So I think this PR is good to go as-is. Thanks for your patience!

@DABH DABH merged commit a07bc17 into winstonjs:master Aug 15, 2019
yinzara added a commit to yinzara/winston that referenced this pull request Oct 4, 2019
yinzara added a commit to yinzara/winston that referenced this pull request Oct 5, 2019
Mizumaki pushed a commit to Mizumaki/winston that referenced this pull request Jun 11, 2020
* add bearer auth capabilities to http transport;

* replace headers clone via spread operator with Object.assign for node 6 compatibility;
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.

None yet

2 participants