I was able to authenticate with cookies in ActionCable
using cookies.signed[:user_id]
but I can't figure out how to do it using keys. For example, sending an Authorization
header when establishing a connection.
The only variable that is accessible in the ApplicationCable::Connection
class is cookies
. The other variables (params
and headers
) are not available.
Any ideas?