Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

handle Authenticate{Get,Post}{In,Out}box methods #139

Open
Sigafoos opened this issue Jul 15, 2020 · 0 comments
Open

handle Authenticate{Get,Post}{In,Out}box methods #139

Sigafoos opened this issue Jul 15, 2020 · 0 comments
Labels
federation Deals with ActivityPub

Comments

@Sigafoos
Copy link
Contributor

These are called when retrieving or adding to a user's inbox and outbox.

  • AuthenticatePostInbox: any valid user? someone is sending you a message
  • AuthenticateGetInbox: user must own the inbox (getting your home feed)
  • AuthenticatePostOutbox: user must own the outbox (sending a new message)
  • AuthenticateGetOutbox: any valid user? getting your timeline.

Check the Authentication header. go-fed handles this with HTTP Signatures, so we should support that. JWTs wouldn't be too hard either (so you could use what we have set for the front end). Not sure about other schemes. We should see what Mastodon uses (so that Masto users can like, reply to, etc posts)

@Sigafoos Sigafoos added the federation Deals with ActivityPub label Jul 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
federation Deals with ActivityPub
Projects
None yet
Development

No branches or pull requests

1 participant