angular-websocket
angular-websocket copied to clipboard
[feature request] JWT token authentication
Please consider this to be a feature request. I'm using Angular with JWT tokens ( https://github.com/auth0/angular-jwt ) and JWT injector is not working with angular-websocket.
Cant you put it into your url? $websocket('wss://serveraddresswebsocket?token='+jwtToken ?
+1
With PR #107 you should be able to pass an Authorization header as an additional option to the underlying ws library.