takahe
takahe copied to clipboard
Support for Mastodon compatible authorize_interaction endpoint?
There is a nice little app that helps open posts from other instances: https://apps.apple.com/au/app/homecoming-for-mastodon/id1666139593
But it redirects here: https://social.ivydra.com/authorize_interaction?uri=https%3A%2F%2Fmastodon.social%2F%40decryption%40aus.social%2F110178498882502969
Which isn't supported in Takahe.
This is the Mastodon implementation: https://github.com/mastodon/mastodon/blob/33f3818d660c67194f94c7ff2bb180f4865e6748/app/controllers/authorize_interactions_controller.rb#L12
Which seems to be based on this concept? https://socialhub.activitypub.rocks/t/represent-endpoint-for-remote-interaction/480
This is a long-shot feature request, not sure if you consider this relevant to Takahe?
This is something we want to do long-term, but the "remote interaction" stuff is a little bit underspecified and so will take some time to properly reverse engineer.
I also get to this URL if I just try and follow someone using my takahe identity.
For example, if try and follow the single user on https://fedi.aeracode.org/ by clicking on the Follow button on the site, it says to enter the domain of my home server, and then takes me to https://${mytakaheserver}/authorize_interaction?uri=https%3A%2F%2Ffedi.aeracode.org%2Fusers%2F${name}