This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/steveiliop56 on 2025-01-19 15:29:33+00:00.


Hello r/selfhosted!

I made a new cool little project called Tinyauth and I thought you guys may be interested, but let’s get straight to the point.

What is tinyauth?

Tinyauth is an extremely simple traefik forward auth middleware written in Go and React that adds a simple login screen to all of your apps without any configuration required.

How is it different from existing solutions?

Well, I wanted a simple login screen for my apps for a long time, I looked into the big three (authelia/authentik/keycloack) but found them too complex for just having an extra layer of security for my self-hosted apps. So after some trial and error I managed to put together Tinyauth that apart from four environment variables and two traefik labels requires nothing more to work. It is also super lightweight as it is written in Go and requires just 20MB of free space.

For who is it meant for?

Tinyauth is of course not meant for production use cases as it’s well…just a login screen, no fancy dashboards, no configuration files, no nothing, just a login screen. I believe it’s a perfect solution for the average homelab user that just needs to add an extra layer of security to some apps (that’s me :) ).

How am I planning to extend it?

I would really like to add simple oauth so you can login to your favorites apps with a github/microsoft/google account. All this will have to be minimal and require only environment variables for configuration so it can be plugged into existing traefik configs quickly.

Screenshots, source code and docker images are available here. If you find any security issues in my authentication system or have security recommendations please let me know.