I am using a JWT to authenticate my user. So when a user want to connect to the ActionCable server, it does something like this: Get a JWT from REST endpoint:
I am using the following code in order to get the updates from a server: const { ActionCable } = require('@sorare/actioncable'); const cable = new ActionCable({