Hello,
in my “unauth” channel I wait until the client sends me the auth token a then I want to connect him to another channel using that token.
I am able to do so from client side BUT, Is there any way how to do it server-side from handle_in in first “unauth” channel?
MyApp.Endpoint.broadcast_from!(self(), "authChannel", "phx_join", %{action: %{type: "yolo"}, ref: "123"})
I tried this but it is not working for me :((
Thnx, gus