I’m not entirely sure what you mean by userbase, but based on your description it sounds like you could set up a Wordpress docker container with some plugins to handle what you want and then use the Wordpress api for the calls. If you’re looking for like a paid membership situation for the site, there are free and pay plugins that can accomplish the payments and subscription integrations.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I am very reluctant to use WordPress at all because I've heard terrible things from multiple colleagues. It looks like something that'd get problematic at some point.
Wordpress issues lie in using plugins that aren't maintained or written well. The source and quality of plugins varies wildly.
That’s totally fair. Wordpress can accomplish what you want, but also can be a giant nightmare. I ran a membership based Wordpress site for around a decade (self hosted and maintained), and it was mostly okay, but also many times a giant headache. I fully understand wanting to avoid Wordpress.
What do you want those users to be able to do with their accounts?
A CMS like Drupal or Wordpress might be what you want.
It's hard to recommend something when you haven't described the purpose. Having users register accounts is just a means to some end.
I use OpenLDAP for my source of truth (user base) and have Authelia configured to use that for users.
Authelia supports acting as an OIDC provider as well as an auth source for apps I host behind Nginx.
For apps that support LDAP, they're plumbed directly in to that and apps using more modern auth schemes (or apps that don't support either OIDC/LDAP) are protected by Authelia - they use the same userbase in LDAP.
OpenLDAP isn't easy, though, so you might want to look at something like FreeIPA or 389 Directory Server instead.
https://github.com/lldap/lldap is a good alternative that's easy to setup.
I've looked at that, but not lately. Last I checked, it was kind of pseudo-LDAP and only really focused on user authentication. I can't read through it now, but will check it out later. For OP's purposes, though, yeah, that should do nicely as a user base for Authelia.
My LDAP server also backs my DHCP, DNS, SMTP/IMAP, SIP, and a few other things beyond user auth, so I kind of need a full LDAP server. The good thing is once you get OpenLDAP setup (and get a good grasp of the cn=config
schema), it's pretty easy to manage with Apache Directory Studio. Getting to that point, though, lol, is quite a mountain to climb.
So, you want an LDAP server or a forum? That's either FreeIPA or hosting Discourse
Pocketbase looks interesting for this.
https://geek-cookbook.funkypenguin.co.nz/recipes/keycloak/authenticate-against-openldap/
It builds on the Keycloak and OpenLDAP tutorials but they're all very well covered.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Fewer Letters | More Letters |
---|---|
DHCP | Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network |
DNS | Domain Name Service/System |
IMAP | Internet Message Access Protocol for email |
SMTP | Simple Mail Transfer Protocol |
SSO | Single Sign-On |
5 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.
[Thread #853 for this sub, first seen 6th Jul 2024, 21:05] [FAQ] [Full list] [Contact] [Source code]
Supabase is a dockerised postgres with user auth, rest API and some other goodies. It's maybe too complicated as a starter.
Appwrite might also work for ya. Much easier to get into, but also less feature complete.
Pocketbase might also work. Haven't used it tho
Silly question but what is a userbase
Absolutely general purpose. In the most simple terms, email, password hash, and a bit of metadata
What is your goal? Custom stuff isn't too hard if you just want to implement basic password login and token-based auth. Otherwise you could use something like Firebase, Okta, or Cognito.