Why can you never change your username in Mastodon, Lemmy or Peertube? Is it a condition introduced by ActivityPub or a forgotten feature?

  • aard@kyu.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    One thing I like about bluesky is that your identity doesn’t have to be tied to an instance domain - you’d still have issues if you want to change is later, but if you plan ahead and use your domain you can just move it between instances.

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Technically, changing usernames can be done on various Fediverse platforms following Mastodon’s protocol for moving to a different domain. There’s no reason why the source and destination domain would need to be the same.

    Practically, usernames are used as unique identifiers in most ActivityPub and wider Fediverse implementations, making changing usernames quite difficult.

    When you follow an account, you follow a username. This is looked up using a protocol called “WebFinger”, named after the old UNIX “finger” command. This could in theory return something akin to a user ID rather than a link to a document with a user name, but I haven’t seen many implementations of that.

  • manucode@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    You can change your display name but your user handle is fixed.

    I imagine being able to change your user handle could cause issues with federation. If you changed your user handle, your instance would have to notify all other instances. If one instance didn’t get this information, your account before and after the change would look like two separate accounts on that instance.

  • Jeena@jemmy.jeena.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    It’s really annoying that the unique identifier is the username and domain instead of an ID. My fiance switched her nationality and therefore her legal name, but there is no way to change it in PeerTube where I made an account for her. OK theoretically we can create a new account and change the ownership of each of her videos but there are hundreds of them.

  • muhyb@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I believe it’s not possible because it would untie the user from all of their comments and posts that seen on “any other website connected to the Fediverse”.

    Only your instance can know who you are if you change your username but other instances couldn’t know that.

  • ngons@feddit.nu
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    You can migrate to a new account… this can achieve the same thing. It doesn’t always work as well as you’d wish though

  • Atomic@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    You’re pretty much asking “why can’t I change my email”

    You can make a new one if you want.

    • IHawkMike@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      And what’s wrong with asking that? Plenty of email platforms let you change your primary SMTP address and/or add/remove aliases.

      It’s a legitimate question. And it could be that the lack of ability to change it has a perfectly logical answer. It still wouldn’t invalidate the question.

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      FWIW it wouldn’t have been that hard to use unique identifiers rather than usernames for the technical implementation of following people. The ActivityPub designers decided on using usernames rather than unique IDs as the primary identification of a user, but they could’ve chosen something else.

      It’s not possible to change your username without something like Mastodon’s move mechanism (that’s poorly supported outside of Mastodon), but the question itself isn’t that crazy. For instance, Bluesky is a federated protocol and they use unique IDs, allowing people to change their usernames in a federated system.

      ActivityPub could do this as well (just let the WebFinger service link to a user ID based URL rather than a username based URL, so multiple account names could eventually redirect to the same user) but I don’t think it’s implemented that way in the popular ActivityPub servers.