this post was submitted on 29 Aug 2024
75 points (97.5% liked)
Fediverse
28382 readers
636 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That would basically require all Fediverse servers of all types to grant full-blown user access to Fediverse users with their login credentials stored anywhere in the Fediverse.
I'm not sure if OAuth could do that. Hubzilla supports both OAuth and OAuth2, both as a server and as a client. But for this to work, everything in the Fediverse would require both server-side and client-side OAuth support.
Also, for convenience, OAuth support would basically have to be combined with OpenWebAuth-style magic single sign-on. With bare-bone OAuth, a user would first have to authenticate with a remote server or client or whatever. This is inconvenient. It would have to happen magically on the fly without the user even noticing anything, much less having to act in any way.
If Lemmy had client-side OpenWebAuth support, and you visit a Hubzilla hub, that Hubzilla hub would automagically grant you certain guest privileges because it recognises you.
If it was a combination of OAuth credential transfer and OpenWebAuth magic single sign-on, and you visit a Hubzilla hub, you could create a new, full-blown Hubzilla channel residing on that hub, just as if you had a local account, and you could do everything with that channel that you could do with a channel on a local account.
In general, this would create the issue of things being stored in the local server database, like posts or even local settings, but not associated to any one local account in the same database. It's bad enough with content, e.g. posts. It's even worse with technical stuff like settings. I mean, if you drive-by magic-log-in to Mastodon with a Lemmy account, you want all the Mastodon settings, to customise your Mastodon experience, now, don't you?
Now imagine you want to delete your Lemmy account. All of a sudden, discuss.tchncs.de would have to go around to 239 instances of a dozen different projects, because that's how many you've used to do stuff, and wipe stuff from databases on remote servers. Alternative: It stays there, but the user account on discuss.tchncs.de that it's associated with doesn't exist anymore.
Or imagine you'd done that not on discuss.tchncs.de, but on kbin.social which infamously is dead. You'd have stuff in the databases of 239 Fediverse instances that's associated with login credentials on a dead server. No feckin' chance to ever get rid of that stuff unless all Fediverse projects implement some CPU-heavy sanitiser that regularly checks whether the servers and login accounts behind all remote stuff in the databases are still there.
It'd be even worse with server applications that support nomadic identity. Hubzilla and (streams). There, your identity is not your account. They're separate already. Your account is only your login, your access to your identity. Your identity is containerised in something called a "channel" that can be cloned to other servers.
You can't just drive-by magic-log-in to a Hubzilla hub and start posting away and, what, create a wiki or something. Your posts and wikis and whatnot aren't stored in your account. They have to be stored in a channel. So you'll first need a channel. You'll have to create it. By the logic, you'll have a Hubzilla channel and thus a nomadic Hubzilla identity named Fisch@discuss.tchncs.de based on your login credentials. If in this case Hubzilla supports naming channels after login credentials rather than the hub, the server instance they're created on, that is.
Technically speaking, however, since the domain in the ID of the channel differs from the server domain, it's a clone. It is not a main instance. The main instance of a Hubzilla channel always has the same domain in its ID as the hub it resides on. But discuss.tchncs.de is not Hubzilla, nor does it support Hubzilla channels, so Hubzilla channels can't reside on discuss.tchncs.de.
Other connections from Hubzilla and (streams) that understand nomadic identity will relentlessly try to connect to a channel on a Hubzilla hub on discuss.tchncs.de. But there is no Hubzilla hub on discuss.tchncs.de because it's a Lemmy server and not a Hubzilla hub. So your precious Hubzilla channel will be broken from the beginning because the Hubzilla hub that defines its identity does not exist.