News for hackers. Stuff that matters.
Re:Phoenix Framework. Authentication and Authorization Using... by regulation_d on Sunday February 25, 2018 @06:47PM (#16461937)
I know Addict was only mentioned in passing, but I am curious: is that becoming the goto authentication library for Elixir/Phoenix?

In my work with Phoenix so far, I've taken the author's roll-your-own approach.

It did take longer to setup than just including Devise in Rails, but I also understand exactly how it works so I think there is some benefit there.

But for folks just getting started with Phoenix (esp. from Rails), I wonder if there should be a goto Devise-like option.

Re:Phoenix Framework. Authentication and Authorization Using... by mikaak on Monday February 26, 2018 @06:23AM (#16464567)
I've always taken the roll-your-own approach too using https://github.com/bryanjos/joken, though I hear about https://github.com/ueberauth/ueberauth a lot.

If you're using Absinthe you can create a easy middleware for auth as well.

Re:Phoenix Framework. Authentication and Authorization Using... by ck3g on Monday February 26, 2018 @04:36AM (#16464165)
To be honest I don't know yet =)

But I also curious why where is no devise-like library, because both Elixir and Devise comes from Plataformatec