5 ms·
"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 implementatio
by chimen 5y ago
"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.
- gustavohoa 5y agoAFAIK, this solution is not for JWT auth. It's for session based auth.
- yetanothermonk 5y agoIt is very, very good. You can try it even without phoenix 1.6 as a hex package and it's great.
- 1_player 5y agoWhat's the hex package? Can't find it.
- louissm_it 5y agophx_gen_auth - https://hex.pm/packages/phx_gen_auth https://hex.pm/packages/phx_gen_auth
- rawoke083600 5y agoAgreed ! My experience as well, otherwise Phoenix does looks very good yes.
- yetanothermonk 5y agoJose 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-phoenix https://dashbit.co/blog/a-new-authentication-solution-for-ph...