Fediverse Integration: login with [email protected] and federate with other authentication servers. #253
Replies: 2 comments 5 replies
-
How are you going to manage player profiles (name, uuid, and skins) and authentication process when joining a server? Those servers will need a support for Yggdrasil Protocol. I think the best way is to modify Mastedon server for supporting Yggdrasil Protocols instead of changing in authlib-injector. |
Beta Was this translation helpful? Give feedback.
-
In response to: #253 (comment) If we do it like XMPP, you need 2(1) servers and a client. Second, they want to connect to your minecraft server spelunkingminers.net, the server will then present the authentication servers that It is using, but in this case they use a separate server to do authentication "linustechtips.com", linustechtips.com will tell the minecraft server that the user wishes to authenticate and has correctly identified themself,
is in chat :) For user management and storage, I believe you can use random UIDs or using partially of the less significant bits (im unsure which those are) but there may be challenges at scale. So in the case above after they have successfully authenticated server-server, linustechtips.com would have to create the definitive UID since it is authenticating the server being reached, and it would need to forward that information to both the server and the client. |
Beta Was this translation helpful? Give feedback.
-
It would be awesome to have servers work like the Mastedon product, or other Fediverse products like Peertube. Your login would be similar to email usage, as "[email protected]".
https://fediverse.party/
XMPP already uses this and it works by verifying the SSL of the domain name, doing client-to-server connections, and more importantly the server-to-server connections to pass around messages between users and between group chats at domains.
https://en.wikipedia.org/wiki/JID_(Jabber)
https://xmpp.org/extensions/xep-0029.html
The "Mojang Namespace" seems like a related feature already,
already having users named as username@mojang is cool, it provides an idea of how to do it already.
under federation naming, the username formats would be "[email protected]" or "[email protected]"
To perform this though, we also need a way to allow-list and deny-list specific domains since people can abuse the existence of federation. This isn't a downside or a bug, its a feature!
Building a web of trusted authentication servers is a big task to ask of a community, but it can make this authlib-injector last a very long time in our hearts.
I'm interested in hearing what other people think of this. Thank you for hearing me out with this proposal ❤️
[Maybe we can implement plugins to make specific domains read-only to worlds and the like, to prevent griefing. Would make it easy to add players to your world, but would also need more heavy modifications than just authentication edits.]
Beta Was this translation helpful? Give feedback.
All reactions