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.

  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    2 days ago

    Pocket id is my go to. I used to use Authentik, but it was overkill for us. Pocket ID is pretty simple to use and has a very nice interface to add your users and clients. Uncluttered and straight and to the point. Pocket ID doesn’t use UN/PW Combos. Instead, you use Passkeys as in webAuthn devices to log in, which IMHO is one of the better security paths.

    https://github.com/pocket-id/pocket-id

      • node815@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I have several services. Home Assistant is not one as it’s still a WIP for the person who’s developing a solution. It works, but I’m sort of holding off until I can test it more with the mobile app.

        https://github.com/christiaangoossens/hass-oidc-auth

        But, to answer your question: I log into Tailscale with it. I also have it connected to Proxmox and Portainer Additionally, I have it connected to Pomerium so I can log into my FreshTomato Router with a fingerprint :) I also have a self hosted PasteBin connected to it.

      • Wigglytuff@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Passkeys work on whatever platforms your passkey is compatible with. I store mine in my BitWarden vault which works on web/PC/mobile just fine.

        Pocket ID is an OpenID Connect provider (basically OAuth), so it depends on whichever apps you’re using having support for that.

        Home Assistant does not natively support OIDC, but there is a community project in active development which aims to add support.

        • This is where I get stuck. I’ve worked with OAuth before, and it is very web-centric. Maybe it’s possible to work around http connections, but everything I’ve read makes it clear that it was designed with web applications - and browsers - as the foundational concept.

          For example, I have a memory of trying to get two servers - neither of which had anything to do with the web - to authenticate, and to use OAuth I remember having to import an http library.

          It’s been an age, so I may not be remembering it correctly; but IIRC the OAuth flow is designed around web protocols.

      • node815@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I just tested my version of Firefox (Fresh from Play Store) and it worked without issues on my end to login to the server.

        The only browser I’m aware of which doesn’t support it is the Duck Duck Go Browser which is a shame. They don’t seem to care about enabling WebAuthn support.

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 hours ago

          I am using a Pixel 7 Pro and disabled the Google Passwortmanager and set Bitwarden as my preferred manager.
          So either Google did something, Firefox can’t reach some ressource or I didnt configure something correctly.