this post was submitted on 02 Dec 2023
24 points (100.0% liked)

Open Source

31406 readers
72 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.giftedmc.com/post/78147

cross-posted from: https://lemmy.giftedmc.com/post/78146

Hi folks! Today I have asked myself if I could login with one (no, not google or apple or micosoft) account in all the (30 I think) forums that I have to use as a FOSS admin. Nextcloud Forum, Ubuntu Forum, Mint forum, Makemkv Forum, Papermc Forum, linux.org, etc.

We obviously are on a forum-like social platform but we cant make people use this as their forum I suppose. Ideally, I'd like to federate "all forums" so to speak but that would probably take a shit ton of work. https://socialhub.activitypub.rocks/t/does-this-forum-use-activitypub/2545/2

If not federate the content, maybe federate the logins. So that the profiles federate from one place to the next and you can login anywhere without having 30 different passwords for one "service" (forum in this case).

The next step down would be a foss SSO solution. There seem to be some but I hardly see any pages mention them possibility at all. https://sennovate.com/best-open-source-single-sign-on-solutions/

Am I missing something or is this still in the distant future?

Thanks for reading. Have a good one.

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

ActivityPods are being developed. From their website:

What is the main shortcoming of ActivityPub ?

ActivityPub wants to make it possible to create decentralized apps. But to post videos, you need an account on a PeerTube instance. And to post images, you need an account on a PixelFed instance. You must thus handle multiple accounts, with their profile, list of followers, etc.

How does ActivityPods solve this shortcoming ?

With ActivityPods, you have only one profile, one outbox, one inbox and one list of followers - all in a single place. Applications connect to your Pod to post activities, read the inbox and fetch data. And of course they can connect to any existing fediverse application !

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

That is equally awesone and insane! Thank you very much for lmk! I‘m so curious now!

[–] [email protected] 7 points 1 year ago (1 children)

It's called private/public key pair. If you give the public key to a website, they can let you in as long as you have the private key to encrypt a message that matches the pubic key.

As such, your public key is safe to share and you can always verify yourself as the owner of the private key if you have it.

SSH log in works like this.

[–] [email protected] 2 points 1 year ago (1 children)

I mean, I use this for github and my servers but I never had the idea to use this for login purposes! Thats pretty awesone. Any idea if that is possible to use somewhere?

[–] [email protected] 2 points 1 year ago (1 children)

Yes, it's called passkeys aka WebAuthn and it's in the process of being widely implemented everywhere.

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

Thats very cool. Thanks for letting me know.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Isn't OIDC basically what you want? You just need to convince the forums to use it.

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

Probably I suppose. Thanks for mentioning it.

[–] [email protected] 3 points 1 year ago (1 children)

There is OpenID, it was all the rage about a decade ago

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

Yeah, I‘ve heard about that.

[–] [email protected] 3 points 1 year ago (1 children)

i don't know if all of those forum software supports this but this is why we have OpenLDAP for. you can have username as a login criterion and not full [email protected]. that way when you create a user in one place, you would have that same user everywhere.

[–] [email protected] 0 points 1 year ago (1 children)

I only know ldap from corporate infrastructure when you have 1000 users and 1000 computers which get switched. Can you elaborate why this would work with forums and social media (if they had support)?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

ldap is a central authority server. when you have ldap supported software, you can alliviate authorization to a central server. and if you make it so that you only need username for credentials (uid=%s,dc=example,dc=com in ldap jargon), you centralize your user database.

that's what i use on my home server. it takes most of the user registration hassle away.

edit: by the way dc=example,dc=com is just an arbitrary value, you don't have to have certbot certification for that or anything.

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

Interesting! Thanks for elaborating.

[–] [email protected] 2 points 1 year ago (1 children)

There is an identity protocol for achieving that, called zot. However it requires the forums/sites you're visiting to have Zot implemented. That is likely not the case, as Zot is way less prevalent than even ActivityPub.

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

Thanks for mentioning it.

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

@haui_lemmy
That's look like federated SSO to me.
@opensource