Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Phoenix 1.6 ships with a new phx.gen.auth command for a complete authentication solution bootstrapped into your application" - hope it's a decent implementation. Setting up a JWT authentication took me days while learning phoenix/elixir and it is the sole reason why I never went with Phoenix for any other project. So many components involved.


Jose wrote the bulk of the code and he worked on Devise. Blog post (1yr old) from Jose here. https://dashbit.co/blog/a-new-authentication-solution-for-ph...


AFAIK, this solution is not for JWT auth. It's for session based auth.


It is very, very good. You can try it even without phoenix 1.6 as a hex package and it's great.


What's the hex package? Can't find it.



Agreed ! My experience as well, otherwise Phoenix does looks very good yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: