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

Selfhosted

38768 readers
174 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?

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago

Authentik has been fantastic.

Extremely flexible, and customizable. You can tailor the entire workflow.

Also, supports radius, ldap, and a few others. They keep adding new features every month.

[–] [email protected] 6 points 1 year ago

If you use gitea, it's just a few steps to enable it to be an OAuth2 provider. See Oauth2 Provider Docs

[–] [email protected] 5 points 1 year ago

I started using Authentik lately and am really enjoying the passwordless life. You can set it up such that the authentication flow uses the WebAuthN standard and just prompt the user for passkey or biometric login. Super slick.

[–] [email protected] 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?