this post was submitted on 25 Apr 2025
79 points (95.4% liked)

Selfhosted

46393 readers
754 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

uSentry is a lightweight, self-hosted Identity and Access Management (IAM) and Single Sign-On (SSO) solution designed for homelab and small-scale environments.

⚑ A single PHP file. < 400 lines of code. No database. No background processes. No cloud. Just works. ⚑

Most IAM and SSO solutions require databases, certificates and background services baked into a dozen containers. This is all fine but also also overkill for homelabs and impossible for low-power ARM devices. uSentry is different, it isn't pretty but it sucks less for a lot of use cases.

Enjoy!

you are viewing a single comment's thread
view the rest of the comments
[–] Xanza@lemm.ee 19 points 3 days ago* (last edited 3 days ago) (2 children)

I'm torn between this being fucking genius, and a terrible idea all at once.


EDIT: Requires ngx_http_auth_request_module. * Caddy4lyfe. *

[–] TCB13@lemmy.world 12 points 3 days ago* (last edited 3 days ago) (1 children)

Well, me too. But frankly OpenIAM (24GB of RAM as a requirement) Keycloak, Authelia do too much, require too much and aren't suitable at all for SBCs and small scale stuff.


Edit: This is targeted at people that run nginx as a standalone server or proxy.

[–] Xanza@lemm.ee 8 points 3 days ago
[–] neodc@sh.itjust.works 9 points 3 days ago (1 children)
[–] Xanza@lemm.ee 6 points 3 days ago (1 children)
[–] TCB13@lemmy.world 6 points 3 days ago (1 children)

If you manage to make it worth with Caddy can you share your config? I can add it to the readme or something. Thanks.

[–] Xanza@lemm.ee 7 points 2 days ago

For sure. I'm likely gonna take a look at it this weekend.