pinafore icon indicating copy to clipboard operation
pinafore copied to clipboard

Use `/.well-known/webfinger` for instance discovery

Open zemlanin opened this issue 2 years ago • 3 comments

Mastodon instances can run on a domain different from a user-handle one (i.e. server on mastodon.example.com, user handles on @example.com)

https://docs.joinmastodon.org/admin/config/#web-domain

Users of those instances might try logging in via domain in their handles. Right now, Pinafore would get 404 in this case. Checking domain's /.well-known/webfinger and/or /.well-known/host-meta would help in that case

zemlanin avatar Nov 08 '22 11:11 zemlanin

I'm sorry, but let me make sure I understand what the request is.

Are you saying that someone might have the handle @[email protected], which actually "redirects" to @[email protected], and the idea is that people should be able to enter foo.com instead of social.foo.com into the Pinfaore "Enter instance name" field?

This seems doable maybe.

nolanlawson avatar Nov 08 '22 13:11 nolanlawson

Yup

zemlanin avatar Nov 08 '22 13:11 zemlanin

Vivaldi.social does this too. Vivaldi.social -> social.vivaldi.net

antijingoist avatar Nov 24 '22 23:11 antijingoist