You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
I think current logic assumes there is current user before broadcast can happen. I had to do fake a user record with an arbitrarily large id to make broadcast work. What I am trying to do is to have light feature that user without logging in can try with assigned session_uuid in the browser session. Because I always subscribe to an actual AR object with different id and there is already encryption of channel name, there is no risk of them seeing each other's data.
This discussion was converted from issue #207 on January 28, 2024 21:59.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I think current logic assumes there is current user before broadcast can happen. I had to do fake a user record with an arbitrarily large id to make broadcast work. What I am trying to do is to have light feature that user without logging in can try with assigned session_uuid in the browser session. Because I always subscribe to an actual AR object with different id and there is already encryption of channel name, there is no risk of them seeing each other's data.
is there a more elegant way on the framework level to handle this?
Beta Was this translation helpful? Give feedback.
All reactions