alexslade

alexslade

Best option for SAML/SSO for Phoenix? External or library?

We’re about to commit to giving SSO to some clients who have requested it. They will accept either OIDC or SAML (though we have suspicions they’ll turn around and want SAML later on for the Single-Sign-OUT methods)

I personally haven’t worked on SSO systems in a while, what’s the current best practice here?

  • Auth0 / Stytch, some 3rd party provider like that?
    • Find some provider with elixir libs/SDKs?
  • Use a library to run it in house?

It’s a handful of customers, no real scaling issues or anything, I’m mostly concerned with correctness, predictability and maintenance costs. Happy to pay a 3rd party if it makes our lives easier and doesn’t introduce critical failure points or risks.

I’m really grateful for feedback from anyone who’s got more experience with SSO like this.

Most Liked

josevalim

josevalim

Creator of Elixir

FWIW, we are using the oidcc package for Livebook Teams.

alexslade

alexslade

This is “solved” from my point of view now that I know people are using the various libs, and I have enough to go research. Thank you everyone :clap:

joshua-bouv

joshua-bouv

I’ve been using ueberauth with great success. It supports lots of SSO providers too (like Auth0 and OIDC)

Where Next?

Popular in Questions Top

albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
mgjohns61585
Could someone help me? I’m making my first elixir program, number guessing game. I can’t figure out how to convert the user’s guess from ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
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
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

Other popular topics Top

New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41989 114
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39467 209
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement