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 https://github.com/meh/elixir-socket, 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:

2 Likes