What are you folks using for self-hosted single sign-on?

I have my little LDAP server (lldap is fan-fucking-tastic – far easier to work with than OpenLDAP, which gave me nothing but heartburn). Some applications can be configured to work with it directly; several don’t have LDAP account support. And, ultimately, it’d be nice to have SSO - having the same password everywhere if great, but having to sign in only once (per day or week, or whatever) would be even nicer.

There are several self-hosted Auth* projects; which is the simplest and easiest? I’d really just like a basic start-it-up, point it at my LDAP server, and go. Fine grained ACLs and RBAC support is nice and all, but simplicity is trump in my case. Configuring these systems is, IME, a complex process, with no small numbers of dials to turn.

A half dozen users, and probably only two groups: admin, and everyone else. I don’t need fancy. OSS, of course. Is there any of these projects that fit that bill? It would seem to be a common use case for self-hosters, who don’t need all the bells and whistles of enterprise-grade solutions.

  • roofuskit@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 month ago

    Just copied and pasted my comment from another recent post about Authelia.

    After recently trying Authelia I gave up and moved to Authentik. Very much appreciate the all in one functionality of it. The company even paid a YouTuber to make a bunch of useful step by step tutorials and they have been invaluable. They also have a number of SSO integration instructions for various software. I highly recommend giving it a try if you’re in the market for an easy enough self hosted SSO and proxy password system.

  • SK@hub.utsukta.org
    link
    fedilink
    arrow-up
    8
    ·
    1 month ago

    Authentik! i’ve been using it since over a year and its been a wonderful experience. supports many protocols and is updated regularly, as a beginner i didnt have difficulty setting it up, has decent documentation for integrations.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 month ago

    I use KaniDM and configured everything with OAuth2. That was the easiest and most straightforward I could find. But I don’t think they bothered implementing LDAP. Other platforms I tried are Authentik, Authelia, Keycloak, Zitadel… They’re all a bit heavier and have other/more features, but there wasn’t one I really fell in love with.

    • 2xsaiko@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 month ago

      Kanidm has LDAP support but it’s read-only. You should prefer OAuth though since LDAP is locked to password login.

  • steventhedev@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 month ago

    Keycloak might seem a little daunting to start with, but is basically glue between your idp (ldap) and whatever apps need to authenticate.

    • AddiXz@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Plus one for Keycloak here. Initially it may be a bit daunting but once it’s set it’s a rock and works flawlessly!

    • jaark@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Another for Keycloak. Though it is probably overkill for many people’s needs in here - it certainly is for mine! But it is what I have up and running and see no need to change to a simpler option.

    • Grunt4019@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      My issue with keycloak is that the documentation is very poor as a beginner. It and almost any other guides online assume you already know things that you may not so I wasn’t able to get past that hurdle.

  • mongoose@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    FreeIPA + Keycloak

    FreeIPA includes Kerberos so the SSO extends to Linux logins. Further, Keycloak supports Kerberos so if I’m logged in on an FreeIPA enrolled client Keycloak is transparent with no additional password. Thus, anything I can goes through Keycloak, otherwise manual LDAP to FreeIPA.

    FreeIPA also handles most of my homelab’s DNS and honestly was not too hard to setup. I’m running it in a Alma Linux VM on Proxmox so it will be supported for a while.

  • keyez@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I used to run key cloak backed by LDAP. Few months ago moved to Authelia and after many hours of tinkering and setting up sites I haven’t had to touch it except to add a new URL or user.

    I slightly disagree with the other commenter I didn’t find it easy or straightforward but once I finally found what worked for my setup its been great.

    Imagine Authelia is the caddy of SSO. Powerful, intimidating but very efficient. Also all configs are in like 3 files and things aren’t going to change without FS access which only I the admin have.