this post was submitted on 06 Jul 2024
34 points (92.5% liked)

Selfhosted

40313 readers
185 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 1 year ago
MODERATORS
34
submitted 4 months ago* (last edited 4 months ago) by zweieuro@lemmy.world to c/selfhosted@lemmy.world
 

Hi!

I am an embedded systems guy so this is new territory for me. I want to be able to host my own userbase somewhere, mainly I just want to figure out how they work. But all i can find are closed solutions that have some amount of pricing or are obscured. I also feel like it'd be wrong to re-write something like this myself.

I've tried googling around a bit but keep getting similar results so I am assuming I am asking the wrong question. What I want: Ideally some kind of dockerized setup where a user can navigate to a website to create an account, which I can then query through php or some other API. Stuff like password reset or stripe would be nice but is secondary as that can most likely be added another way.

I found stuff like usernbase which seems interesting and even includes something like subscriptions, but I'd like to self host it and not rely on something like the AWS.

Ideally I want to get OAUTH2.0 to work as well, to learn how exactly it works.

Any pointers would be greatly appreciated!

you are viewing a single comment's thread
view the rest of the comments
[–] hendrik@palaver.p3x.de 6 points 4 months ago* (last edited 4 months ago)

Authentik, Authelia, Keycloak, KaniDM come to mind.

That'd be identity providers / authentication servers or SSO solutions. But with most (/all?) of them, you'd have to program the payment logic yourself.

I think there are webshops, platforms to sell online courses and ERP or eCommerce software that can do both payment and authentication. I'm not a expert on that.

I think most solutions are either custom solutions that have been programmed by the people themselves (at least to some degree) or some of the big, commercial (and proprietary) platforms to sell online courses and memberships.

But don't search for "userbase [...]" that's a term I've never heard of. Search for "membership", "identity management", "single sign-on", "eCommerce" and "Stripe" (because it's one of the largest payment providers. And I'd have a look at the eCommerce world. Usually it's difficult to find something good. Most of them want a share of your revenue and aren't entirely open source. Maybe something to sell online courses with, is more likely to have the things you need.