The first two steps where very simple, adding the well-known and actor json, these are static and I can set the content-type in #azure#storage very easily.
Now, I need to choose something that can answer the POST requests for the inbox. After a brief check on the pricing, I will use #Azure#Functions, which has enough free requests for now.
Ok, so created my azure function locally. Seems the actor file has a reference to the url where these requests will be processed: (ex. "inbox": "https://maho.dev/inbox"), so I need to configure the DNS for my azure function, but that is a TODO for later.
I am at the point where everything seems to work except for confirming the follow/unfollow request. It is something about the signature.
These past few hours of development remind me of what @coachtony says in the last episode of #dotsocial by @mike, there is not a nice way to test your #activitypub implementations.
Different #mastodon versions, return different errors, there is no test suite, and basically I am testing in production and/or setting up my own #mastodon server.
Add comment