Federation Design Plan

(#1093) Feature Open: Under consideration federation

Thread

Comment by semotus
The format of a username will be name#discriminator@domain.tld. The @domain.tld can be elided within a local Instance only. The Instance will assume @domain.tld for any reference to a username without it already included.
Considering this is one of the biggest front-facing parts of federation i.e. users would see it all the time, this would be damaging. External users' IDs would look clunky, but it would also be hard to remember. Not only would the average user see this as some sort of malformed e-mail address much like some platforms like Mastodon or Bluesky, adding in the discriminator tag to the mix bombards the user with information (username, discrim, domain) in an unintuitive format that instance operators would likely revert to bridge bots as it'd be easier for users to actually use. I would consider the beat way forward for federation to be something not dissimilar to a friend code system based on a keypair based on the user's home instance. That way you can have user and discrim pairs that won't clash, but you can show that the accounts are different. You could use a numeric system similar to Nintendo consoles, or perhaps use the BIP39 standard and attach it to the usercard somewhere. In my opinion this would be far more user friendly and not have the drawbacks of traditional federated username formats.