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

Selfhosted

46376 readers
800 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
[–] Vendetta9076@sh.itjust.works 2 points 3 days ago (9 children)

I feel like committing secrets to a config file instead of .env is a terrible idea. Thats being said this is really useful I'm sure.

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

I get the point, but don’t forget those “secrets” are bcrypt hashes. Not really reversible.

[–] Vendetta9076@sh.itjust.works 5 points 3 days ago* (last edited 2 days ago) (1 children)

The issue isn't that. The issue is its a config ~~folder~~ file and a lot of people back their configs up to things like github.

[–] TCB13@lemmy.world 1 points 2 days ago (1 children)

You can backup the entire file then. I get your point, but it also seems like you’re referring to some container-based approach where you would place this inside a container and then mount the config file to some path. While some people might like that approach, that kind of goes against the original idea here, I didn’t want to run yet another instance of nginx for auth, nor another php-fpm - the ideia was simply to use this on a low power device , no containers, no overhead of duplicate webservers and PHP, just a single nginx running a couple of apps on the same php-fpm alongside this.

[–] Vendetta9076@sh.itjust.works 1 points 2 days ago (1 children)

I think youre misunderstanding my point but thats okay. Its not for me but as a thing itself its really impressive and you should be proud to have written it. I'm sure others will find great use in it :)

[–] TCB13@lemmy.world 1 points 2 days ago

I can split the config to another file, not really a big deal. :)

load more comments (2 replies)
load more comments (6 replies)