Is there a reason why all the services, that use the ActivityPub protocol don’t have a unified API?

None of the mastodon apps allow me to log in with a lemmy/kbin account.

Also none of the lemmy apps allow me to log in with a kbin account.

Even though kbin has both mastodon (microblogging) and lemmy (threads, communities) functionality.

Also, Pixelfed recently introduced “login with Mastodon”, but all it really does is just create a new user on it’s instance and copy over the mastodon followers and profile info.

Why can’t we just have one account to rule them all?

  • cwagner@lemmy.cwagner.me
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    It’s not that easy. How does anyone else know this is you? So there needs to be signing and signatures attached to every post, that proof this is actually you. That adds a whole lot of complexity to activity pub. Because before, only kbin.social could post as you, but with your solution anyone can, and there needs to be a way to prove for every server, that they are allowed to do that.

    • adonis@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      1 year ago

      Why would there need to be a signature to every post? According to your statement, any service that provides OAuth/JWT would be prone to this fatal flaw, wouldn’t it?

      • cerevant@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        No, because the model for ActivityPub is very different than how OAuth is used for authentication. What you describe is like wanting to log in to hotmail using your gmail account, and being able to send and receive e-mail from your gmail address.

        It is a fundamental to ActivityPub that a user exists at a domain, and content coming from or going to that domain is sent from / to the relevant server at that domain.

        Federated login is a good idea, and it’s been done, both in closed and open forms. Combining federated login and federated ID over ActivityPub would fundamentally change ActivityPub.