Two Phoenix app on a single websocket

I have created this learning app https://chandothis.herokuapp.com/ that uses only channels instead of controllers and works very nice.
However now I want to connect another application to it, using the same websocket, and practically to use the same channels. Tried different approaches without any success.
The Heroku app ws is wss://chandothis.herokuapp.com/socket/websocket?token=undefined&vsn=1.0.0

Now I’m going to try also with GitHub - meh/elixir-socket: Socket wrapping for Elixir. · GitHub, but I really hoped that this can be done in Elixir without other libraries.

Any ideas/starting point?

Update:

I have added more info about my latest attempts on this stackoverflow question:
http://stackoverflow.com/questions/40564093/phoenix-connect-socket-join-channel-push-receive-messages-from-another-appl

2 Likes