Skip to content

Use Authorization header in WebSockets on Node #37205

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

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Conversation

BrennanConroy
Copy link
Member

We can set headers in WebSockets on Node, so we should set the Authorization header in that case instead of using the query string.

Saw something on stackoverflow a few months ago that was related to this and forgot to file an issue, so now I'm just fixing it 😃

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Oct 1, 2021
@davidfowl
Copy link
Member

Very nice!

@BrennanConroy BrennanConroy merged commit 9c81ee0 into main Oct 4, 2021
@BrennanConroy BrennanConroy deleted the brecon/wsauthnode branch October 4, 2021 21:05
@ghost ghost added this to the 7.0-preview1 milestone Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants