DEV Community

loading...

Discussion on: How to connect Pow and Live View in your Phoenix project

Collapse
karolsluszniak profile image
Karol Słuszniak

If it helps, here's a rather long discussion about these concerns: github.com/danschultzer/pow/issues.... To me it looks like there's no perfect solution - Pow seems to highly depend on regular HTTP requests and making it work with socket-only session requires either functional/security sacrifices or a lot of added complexity. But I'm no auth/Pow expert so maybe I've missed some simple way around...

Thread Thread
oliverandrich profile image
Oliver Andrich Author

Doesn't look very promising indeed. I read another thread which seemed to offer a simple solution. Seems as I need to test some code tonight. <3

Thread Thread
oliverandrich profile image
Oliver Andrich Author

@karolsluszniak I knew about this thread, but spent a lot of time yesterday and today re-reading it. And my test candidate - my wife - almost immediately ran into issues. Maybe I should switch to phx.gen.auth then and learn a bit more about assent.