this post was submitted on 24 Jul 2026
49 points (96.2% liked)

Selfhosted

60887 readers
716 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

What auth apps do you use ive seen authelia, authentik, keycloack but whats overall the best

top 23 comments
sorted by: hot top controversial new old
[–] SeaDawg@lemmy.world 4 points 1 hour ago (1 children)
[–] technocrit@lemmy.dbzer0.com 1 points 28 minutes ago

Same. I tried a few other options from F-Droid/Droidify and Aegis was the easiest for me.

[–] smiletolerantly@awful.systems 1 points 1 hour ago

I'll second Pocket-ID.

I originally had Authentik setup. It worked well enough. However, their packaging constantly broke and no-one seemed to care.

Switched to Pocket-ID and won't be looking back. Passkey-based OAuth was all I wanted anyways. (Also, the logins themselves are noticeably faster!)

Openbao -> keycloak with a TOTP on new devices

[–] irmadlad@lemmy.world 1 points 2 hours ago
[–] the16bitgamer@piefed.ca 2 points 3 hours ago

I like Ente, and according to their docs you can spin up your own host.

[–] fonix232@fedia.io 5 points 5 hours ago

"The best" depends on what you really need.

Authentik and Authelia are two of the top most quoted solutions, but they aim to be an "everything in one" package, with tons of features a simple homelab will rarely need. They're aimed more at enterprise-like setups.

On the other end of the spectrum you have e.g. Pocket-ID, which only does OIDC by itself (you can hook up an LDAP server as user database though); but that tradeoff means it uses little to no CPU time, and, in my experience, around 130MB RAM. Given RAM is getting more expensive than gold, one needs to consider memory footprint, especially for older homelab setups. We can't all be running 256GB nodes after all.

So instead of hunting the mythical "best" solution, decide what features you really need, grab a list of providers that cover those features, and compare them to see what fits your needs best.

[–] whysofurious@lemmy.dbzer0.com 2 points 5 hours ago* (last edited 5 hours ago)

I used authentik first as it was suggested by a friend with whom we are sharing the vps, and so I kept using that also for another personal vps.

It is a good combination of robustness and flexibility for me, plus we needed a user dashboard or at least a list of apps. Custom workflows, blueprints and stuff were a bit of a pain to understand, so I just copy them between the two install I have because I keep forgetting how everything works. It's also quite resource-heavy, so I might try something different in the future.

[–] 9point6@lemmy.world 7 points 7 hours ago

Authentik is great, super versatile, if not a bit of effort to get it set up initially

[–] glizzyguzzler@piefed.blahaj.zone 14 points 10 hours ago

I use Authentik - works well - but I’m prepping to switch to Authelia for the config-based setup.

I updated Authentik across 2 versions (they did 2 month-long supported tags, missed one; now they do 3 month-long supported tags) and it destroyed itself. Had to recover the DB from a backup (and then step through the version I tried to skip), and while I was doing that I was like “wait why does this have only a DB? Should just be a config file cause that’s all the depth I do with it” and lo that’s what Authelia is.

Authentik is audited and Authelia has not been. Initially while I chose Authentik. But config-file robustness in the face of Authentik’s GUI-setup DB imploding swayed me not to care, it’d take so long and be so tedious to redo all my proxies and auths through the GUI. Plus I always forget what to click in the GUI when I come back to add some new program in 4 months.

[–] haroldfinch@feddit.nl 6 points 8 hours ago* (last edited 8 hours ago) (2 children)

Kanidm

It has a modest UI for end-users to handle self-service scenarios, and an app portal for OpenID Connect configured applications.

The backend is fully CLI based.

It is very robust and performant, built on Rust.

Yet very much in active development, so do not expect full parity with commercial alternatives at a feature level.

I run it to provision users for my home Linux devices and it supports offline login, my Homelab servers, and my self-hosted web applications through OIDC.

A nice 'one stop shop' for my purposes.

EDIT: Actually their comparison page might be a worthwhile read considering your question OP.

[–] cultist@feddit.dk 1 points 4 hours ago

Also switched to Kanidm, and using the Kubernetes operator someone made have made it easy to configure also.

I have custom resources that create HTTPRoutes and then protect public traffic with Kanidm by creating a a OAuthClient per site.

Chefs kiss.

[–] Melusine@tarte.nuage-libre.fr 1 points 7 hours ago

I like kanidm too ! And I think that something that could be really powerful would be to have the local client daemon provide a token for user applications (browsers with an extension, dedicated app...).

[–] AbidanYre@lemmy.world 10 points 10 hours ago (3 children)

I ended up at PocketID. Authentik (and I think authelia too) is good but way more complicated than what I needed for a homelab. A lot of people like VoidAuth, but i didn't care for the visual style. Don't think I ever tried keycloak.

[–] TerHu@lemmy.dbzer0.com 1 points 4 hours ago

my mates and i are also hosting pocketID. it’s solid stuff

[–] undefined@lemmy.hogru.ch 4 points 8 hours ago

I second PocketID if all you’re looking for is Passkeys + forward-auth. The others are overkill.

[–] DrunkAnRoot@sh.itjust.works 1 points 10 hours ago

Voidauth looks intresting. Thanks!

[–] gagootron@feddit.org 8 points 10 hours ago* (last edited 10 hours ago)

I personally run authelia. I prefer the config file over a gui where i have to click everything together. For the actual user storage i got lldap.

But my requirements a possibly different to yours, my main focus was no docker and no javascript backend.

Keycloak is definetly overkill for a homelab. Both in effort to get it to run, and maintaining it.

[–] Strit@lemmy.linuxuserspace.show 2 points 7 hours ago

I use my Nextcloud instance as a OIDC provider for all my other apps.

[–] fluckx@lemmy.world 2 points 7 hours ago

The best is pretty subjective and partially relies on what you need.

Keycloak is one of the most feature complete ones I think.

I've used authelia before and liked it, but it had a very bare UI and everything was done through config files which forced redeploys on changes. It wasn't ideal for me.

I'm currently trying out voidauth. It's got some more Ui features compared to authelia and can apparently also simulate some Active Directory queries to forward your users to third party tools for provisioning ( unless I saw that wrong, I haven't tested any yet ).

Authentik looked nice, but I haven't gotten around to checking that one out yet.

[–] mhzawadi@lemmy.horwood.cloud 3 points 9 hours ago

I tried authelia when it was new and could get it to work right, so switched to keycloak.

[–] artyom@piefed.social 3 points 10 hours ago* (last edited 10 hours ago) (1 children)

There is no "overall best", just one that works best for you. I like to keep mine on a managed encrypted server so I use Ente Auth. I think Proton has one as well.

[–] dieTasse@feddit.org 6 points 8 hours ago

I think they are talking about sso, not 2fa.