# It's time for me to upgrade from basic_auth, what now? — retained record

> Retained reddit record from reddit:selfhosted.

Canonical: https://highsignal.app/data/records/03c0a7fffbf7f462

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:selfhosted)  published 2026-10-12 01:38 ingested 2026-10-13 02:39

[original source ↗](https://www.reddit.com/r/selfhosted/comments/1x3p9mk/its_time_for_me_to_upgrade_from_basic_auth_what/)

## retained text



```
I have a simple home setup with a VPS running Caddy (and fail2ban), so that https://appXYZ.domain.com reverse proxies to apps running on my homeservers. I've managed to get by for years with just basic_auth for authentication. fail2ban swats down any brute force attacks. There's just 2 users, me and a friend.

Unfortunately I now need to use two webapps that seem to be using Bearer tokens internally for some operations. This replaces the basic_auth in the Authorization header, resulting in 401 errors and the apps breaking, plus my IP getting banned. When I first ran into this I added a fail2ban ignore filter, but this isn't the right approach, it's not sustainable.

- *What I want*: I am looking for a solution that is lightweight and simple (the less RAM the better, it's a tiny VPS). Ideally I want to set it up once and forget it exists for years, like basic_auth did for me. I was fine for 10 years with basic_auth + fail2ban, that should tell you everything you need to know. I just want something that doesn't interfere with random apps' own auth.

- *What I don't want*:
  - anything to do with Cloudflare. I don't want big tech and spy agencies indexing my internal traffic, thanks.
  - Ideally I don't want something that requires me to set up real email (which I haven't done on my server). I'd prefer traditional username/passwords.

Given my scale, what do you suggest?

**EDIT:** Thanks for the replies, everyone. I went with the most popular choice, Authelia. RAM usage seems to peak around 200MB when in use, but it seems to aggressively garbage collect, because I see it's now idling at 60MB.
```



document fetched 2026-10-13 00:31 · canonical https://reddit.com/r/selfhosted/comments/1x3p9mk/its_time_for_me_to_upgrade_from_basic_auth_what
