Skip to content
This repository was archived by the owner on Jul 31, 2020. It is now read-only.

Comments

fix(websocket): Fix websocket auth in browsers#95

Merged
ProbablePrime merged 2 commits intomixer:masterfrom
Mobius5150:master
Mar 6, 2018
Merged

fix(websocket): Fix websocket auth in browsers#95
ProbablePrime merged 2 commits intomixer:masterfrom
Mobius5150:master

Conversation

@Mobius5150
Copy link
Contributor

Previously we errored out when running in a browser with a 400 code -
because no auth info was supplied. Fix is to take the auth info we would
add to headers, and add to query string instead when working with the
built-in WebSocket implementation.

Tested in NodeJS and Browser (Firefox, Chrome)

Previously we errored out when running in a browser with a 400 code -
because no auth info was supplied. Fix is to take the auth info we would
add to headers, and add to query string instead when working with the
built-in `WebSocket` implementation.

Tested in NodeJS and Browser (Firefox)
@ProbablePrime ProbablePrime merged commit 277b22d into mixer:master Mar 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants