1
I have an app Ionic using an API Ruby on Rails. To authenticate, I am using Gems Devise and tiddle where I pass via the Angularjs X-USER-EMAIL and X-USER-TOKEN in the Request Header Have a part of the application I use at Gem websocket-Rails to perform some actions in real-time. But for this to work accurate from the logged-in user and the angular Interceptor does not pass these headers because it is a request WS and not HTTP. What to do to be authenticated when using websocket?