Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement user authentication in phoenix

I was creating a webapp in phoenix, I was wondering what could be a better way to implement user registration/authentication and session management in it.

On googling I found these two libraries: addict and passport

But I am not sure how much stable are these and are they being used in production somewhere. Please let me know if there are some libraries safe to use in production and if there are some example implementation of those.

like image 304
Saurabh Avatar asked Sep 27 '15 06:09

Saurabh


People also ask

What is Phoenix framework used for?

Phoenix is a web development framework written in the functional programming language Elixir. Phoenix uses a server-side model–view–controller (MVC) pattern. Based on the Plug library, and ultimately the Cowboy Erlang framework, it was developed to provide highly performant and scalable web applications.


1 Answers

Addict seems to be the more mature project and appears to be "the one" right now. In order to find good Elixir libraries, I always like to consult the Awesome Elixir Github repo.

like image 92
Patrick Oscity Avatar answered Oct 05 '22 03:10

Patrick Oscity