clerk-sdk-ruby
clerk-sdk-ruby copied to clipboard
ActionCable Issue
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
You are my hero - I spent 3 hours trying to figure out why all over sudden my action cables didn't work