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

undocumented expectation for webfinger of domain #1374

Open
Johann150 opened this issue Dec 16, 2023 · 0 comments
Open

undocumented expectation for webfinger of domain #1374

Johann150 opened this issue Dec 16, 2023 · 0 comments

Comments

@Johann150
Copy link

When I use the Follow button whithout being logged in, I am prompted to enter my instance's domain name. (I think previously I was asked my full profile handle?) From what I understand if I enter domain.example, the JavaScript will then try to web-finger https://domain.example (see https://github.com/mastodon/mastodon/blob/b1dec09d203d535a3b0bc61e520e520ba7643878/app/javascript/packs/remote_interaction_helper.ts#L77-L92).

The expectation that https://domain.example will resolve to anything is not documented on the webfinger page, for example in the list at the end it should have a case saying something like this:

  • Asking example.com for the resource https://example.com yields a link with rel of http://ostatus.org/schema/1.0/subscribe.

I did not check if this is expected in other places too (to resolve to a full link to the instance actor) or if the ostatus subscribe template is enough.

NB: This expectation does not currently hold with Misskey and breaks the feature because it redirects to a non-existent URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant