So, I started playing with liveviews for a new project. And I have a couple of questions, and I would love if someone can point me in the right direction.
I need the user to login (I have a login service) My question is how to authorize the “socket”, I know that when using websockets we have the
connect/2 callback and I can make some auth logic there, but the liveview should be treated as a websocket?
Or I need to add auth information to the
session like a normal webpage?
When using reactjs in the frontend, I make use of JWT stored in localStorage
I am kind of lost with this :\