this post was submitted on 28 Aug 2023
21 points (92.0% liked)

Selfhosted

40218 readers
1383 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
 

I have a bunch of personal projects that I'm working on. They all need some for sort of authentication. I think it'd be easier to have a dedicated service to manage tokens instead of implementing it again and again for each service.

Amazon, Google and Microsoft provide something like that, but I'm looking for a self-hosted solution. Any suggestions?

you are viewing a single comment's thread
view the rest of the comments
[–] Dirk@lemmy.ml 2 points 1 year ago

You need to reimplement TOTP on a per-service base. There are hardware tokens available, so you could use one of them (Token2, maybe?) instead on user side. You still need to allow custom secrets for your services so you can enter the token ID there. Are you sure you meant a (TOTP) token and not single sign-on?