• thisisawayoflife@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    11 months ago

    You do it via a webfinger. But the service itself has to request a specific resource in order to route it correctly. For example, mastodon and pixelfed ask for the same resource, so both services will end up getting the same service’s account.

  • stinerman [Ohio]@midwest.social
    link
    fedilink
    English
    arrow-up
    8
    ·
    11 months ago

    No, not in the example that you’ve set up. The username is always @user@domain. This is like asking if you can have the same email address on Gmail and Hotmail or whatever. You can have the same user part, but not the domain.

    People that have used [email protected] and also [email protected] is allowed because they’re different domain names.

    • wander1236@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      11 months ago

      Technically you sort of can do that with email. Most providers let you verify you own the other email and then use the other provider’s SMTP to send from a different address.

    • muntedcrocodile@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Thank you for the very detailed explanation. I figured for services using a different protocal would be easyer as they can be handled almost independantly.

      Would i need to modify the code of every services to man in the middle myself surly since i control the private key i can just do it after it leaves the service then if i pipe that back to my “universal” incoming it would distribute it to the relevent services?

      I dont understand why the last approach breaks mastadon-lemmy interaction? It seems like the best solution if it wasnt for that.

  • bogdugg@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    I don’t know if there’s a service that provides both functions. I’m sure there’s a way to do it - Lemmy posts are already accessible through Mastodon. Currently, I assume you would need the instance itself to offer both services under one account.

    • muntedcrocodile@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Well i recently got myself a new server and domain and was going to self host all my things though it would be cool to have the same username and domain across services without needing to do subdomain shenanigans.