uranther
User authentication in Phoenix?
What combination of libraries do you use for your Phoenix web app for standard user authentication? There are a couple listed in the awesome-elixir list, notably, ueberauth.
What I am looking for is a basic user account (email/password), register, login/logout, forgot password, and roles/groups for ACL. I want an admin panel for managing users, too, but I realize I will probably have to build this out.
Most of what I see is for basic JSON Web Token (JWT) authentication for API backends or similar. So I am a little confused about the standard practice for user auth in a plain ol’ web app.
I bet this has been blogged about somewhere… ![]()
First Post!
AstonJ
I will probably roll my own, but I’m interested in hearing what others have to say here.
Did you look at what’s in hex.pm btw? Basic_auth seems to be fairly popular.
Most Liked
Mandemus
jaimeiniesta
I’ve tried Addict and Openmaize in a Phoenix application.
I didn’t like Addict too much because it relies heavily on JavaScript (for example, on the redirections).
Instead, I chose Openmaize – it’s very well documented, doesn’t rely on JS, and provides signup/login/logout/password reset features out of the box. Ah, and two-factor authentication as well.
Mandemus
Happened upon this gem today. It walks you through setting up coherence with satisfyingly pedantic detail.
Last Post!
danschultzer
You got it.
Yeah, it was used in older pre-release versions of PowAssent. The dependency has been removed since 0.1.0-rc.1.
Popular in Discussions
Other popular topics
Latest Phoenix Threads
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









