Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. ActivityPub
  3. Idle thought re: account delegation

Idle thought re: account delegation

Scheduled Pinned Locked Moved ActivityPub
activitypubc2s
6 Posts 2 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    wrote last edited by
    #1

    I've been toying with the idea of using OAuth2/OpenID and the C2S API to have a service act on behalf of another instance (e.g. act on Lemmy, post as Mastodon account)

    But now I'm wondering whether that kind of complexity is needed... one could theoretically register a public key to the instance it is acting on behalf of, and simply sign activities using the ID of the other server... Second server would need only update the actor with the new public key for verification purposes...

    1 Reply Last reply
    1
    • evan@cosocial.caE This user is from outside of this forum
      evan@cosocial.caE This user is from outside of this forum
      evan@cosocial.ca
      wrote last edited by
      #2

      @julian have you read this?

      Link Preview Image
      Cross-server Interactions in ActivityPub

      So, Richard McManus asked me about how ActivityPub supports cross-server usage. As an example use case, let's say a user with the account eric@social.example wants to comment on a photo by dionne@photos.example. In this scenario, Eric would go to the page https://photos.example/users/dionne/photos/1 and enter a comment. How would that work? I can talk about how…

      favicon

      Evan Prodromou's Blog (evanp.me)

      evan@cosocial.caE 1 Reply Last reply
      1
      • evan@cosocial.caE evan@cosocial.ca

        @julian have you read this?

        Link Preview Image
        Cross-server Interactions in ActivityPub

        So, Richard McManus asked me about how ActivityPub supports cross-server usage. As an example use case, let's say a user with the account eric@social.example wants to comment on a photo by dionne@photos.example. In this scenario, Eric would go to the page https://photos.example/users/dionne/photos/1 and enter a comment. How would that work? I can talk about how…

        favicon

        Evan Prodromou's Blog (evanp.me)

        evan@cosocial.caE This user is from outside of this forum
        evan@cosocial.caE This user is from outside of this forum
        evan@cosocial.ca
        wrote last edited by
        #3

        @julian tl;dr all you need is OAuth 2.0. It's easy with this FEP:

        Link Preview Image
        fep/fep/d8c2/fep-d8c2.md at main

        fep - Fediverse Enhancement Proposals

        favicon

        Codeberg.org (codeberg.org)

        I think it's great to hear you're going to implement the ActivityPub API. Chapter 3 of my book covers it pretty well. I strongly recommend reading it!

        Link Preview Image
        ActivityPub book

        In September 2023, I started work on a book about ActivityPub for O'Reilly Media. As of September 2024, the book is now available! Ebook The book is available from several different ebook vendors in different formats. O'Reilly Learning Platform Amazon Apple Books ebooks.com Kobo Print The book is not yet available in print format. O'Reilly…

        favicon

        Evan Prodromou's Blog (evanp.me)

        julian@community.nodebb.orgJ 1 Reply Last reply
        1
        • evan@cosocial.caE evan@cosocial.ca

          @julian tl;dr all you need is OAuth 2.0. It's easy with this FEP:

          Link Preview Image
          fep/fep/d8c2/fep-d8c2.md at main

          fep - Fediverse Enhancement Proposals

          favicon

          Codeberg.org (codeberg.org)

          I think it's great to hear you're going to implement the ActivityPub API. Chapter 3 of my book covers it pretty well. I strongly recommend reading it!

          Link Preview Image
          ActivityPub book

          In September 2023, I started work on a book about ActivityPub for O'Reilly Media. As of September 2024, the book is now available! Ebook The book is available from several different ebook vendors in different formats. O'Reilly Learning Platform Amazon Apple Books ebooks.com Kobo Print The book is not yet available in print format. O'Reilly…

          favicon

          Evan Prodromou's Blog (evanp.me)

          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote last edited by
          #4

          evan@cosocial.ca no, I haven't read that actually! I did now and I'm feeling a bit reassured that I came to the same solution, although it's currently high level and theoretical.

          That there's an FEP written for it is great as well. Are there any existing implementations of this FEP?

          As an aside, my forum hadn't seen your post before, so when it pulled it in it automatically back filled all of the comments too, because pfefferle@mastodon.social added support for 7888/f228 awhile back! Neat to see it outside of a testing context (no pun intended) heheh.

          1 Reply Last reply
          1
          • evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.ca
            wrote last edited by
            #5

            @julian @pfefferle onepage.pub uses it, the ap command-line tool uses the FEP. The new checkin tool I'm working on uses it. It'd be great to see more implementations.

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • evan@cosocial.caE evan@cosocial.ca

              @julian @pfefferle onepage.pub uses it, the ap command-line tool uses the FEP. The new checkin tool I'm working on uses it. It'd be great to see more implementations.

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote last edited by
              #6

              evan@cosocial.ca that's cool, so hopefully I'll have something to test against besides another NodeBB server 😁

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups