Rodeoclash

Rodeoclash

3rd party auth / authz

Hi all,

I’m about to start a new site that will use Elixir / Phoenix and I’m exploring the use of 3rd party auth providers for it. When building a site, I normally just use Pow which I now understand quite well, however I would ideally like to offer things like 2FA / WebAuthN (Yubikey etc) for this new site as it’s going to contain fairly sensitive information and likely have to conform to some security guidelines (i.e. ISO27001 etc). Pow doesn’t seem to support WebAuthN / TOTP (although it is on the radar!).

I’m a bit lost in the number of options I have available to me. Ideally I’d like something open source and self hostable but with a cloud offering as well. Ory and Zitadel seem to fall into this category. It won’t need to function with a SPA as I’m planning on leaning heavily into LiveView.

Has anybody implemented third party auth recently and have some thoughts around this?

Some of the systems I’ve been looking at include:

  • Ory (I like the use of cookies for auth, no Elixir SDK though and I’m having some trouble understanding the auth flow)

  • Zitadel (Seems like I could just use Überauth to talk OAuth2.0 and get back user details which could be stored directly in a cookie)

  • Authelia (I use Caddy2 so the integration here is nice, however I have to maintain a YAML file of user logins?)

Most Liked

ityonemo

ityonemo

Auth0, no sdk, just make straight calls to their API and implement the cookie callbacks. Works great.

Where Next?

Popular in Questions Top

sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

Other popular topics Top

aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement