Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Mastodon compatible authorize_interaction endpoint? #557

Open
dvydra opened this issue Apr 11, 2023 · 2 comments
Open

Support for Mastodon compatible authorize_interaction endpoint? #557

dvydra opened this issue Apr 11, 2023 · 2 comments
Labels
area/api The OAuth/client app API area/federation Federation issues with other servers bug Something isn't working pri/low Low Priority

Comments

@dvydra
Copy link
Contributor

dvydra commented Apr 11, 2023

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?

@andrewgodwin
Copy link
Member

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.

@andrewgodwin andrewgodwin added bug Something isn't working area/api The OAuth/client app API area/federation Federation issues with other servers pri/low Low Priority labels May 4, 2023
@davidfraser
Copy link
Contributor

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api The OAuth/client app API area/federation Federation issues with other servers bug Something isn't working pri/low Low Priority
Projects
None yet
Development

No branches or pull requests

3 participants