clerk-sdk-ruby icon indicating copy to clipboard operation
clerk-sdk-ruby copied to clipboard

ActionCable Issue

Open iSarCasm opened this issue 1 year ago • 1 comments

Something prevents ActionCable from working well with clerk-sdk-ruby gem.

This config worked for me as a temporary workaround. Otherwise, web socket connections fail without any errors in the logs. It's unclear how I would go about identifying users in WS connections without digging into gem's source code.

Clerk.configure do |c|
  c.excluded_routes = ['/cable']
end

To test this you can simply create a blank new Rails 7 project with some turbo_frame_tag and a gem "clerk-sdk-ruby" and see that WS connections fail

iSarCasm avatar Oct 11 '23 02:10 iSarCasm

You are my hero - I spent 3 hours trying to figure out why all over sudden my action cables didn't work

jenswilms avatar Apr 19 '24 23:04 jenswilms