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

WebFinger - Resource Account Lookup #11

Open
benrick opened this issue Nov 21, 2022 · 0 comments
Open

WebFinger - Resource Account Lookup #11

benrick opened this issue Nov 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@benrick
Copy link
Member

benrick commented Nov 21, 2022

Mastodon uses Webfinger to find information from the server where someone's account is located. To do this, it uses the Webfinger spec, because ActivityPub alone doesn't have this lookup. We'll need to support requests like this:

https://our.devchatter.com/.well-known/webfinger?resource=acct:[email protected]
{
    "subject":"acct:[email protected]",
    "aliases":[
        "https://our.devchatter.com/@brendoneus",
        "https://our.devchatter.com/users/brendoneus"
    ],
    "links":[
        {
            "rel":"http://webfinger.net/rel/profile-page",
            "type":"text/html",
            "href":"https://our.devchatter.com/@brendoneus"
        },
        {
            "rel":"self",
            "type":"application/activity+json",
            "href":"https://our.devchatter.com/users/brendoneus"
        },
        {
            "rel":"http://ostatus.org/schema/1.0/subscribe",
            "template":"https://our.devchatter.com/authorize_interaction?uri={uri}"
        }
    ]
}

Mastodon Docs on Webfinger Usage: https://docs.joinmastodon.org/spec/webfinger/
Official Webfinger Site: https://webfinger.net/

@benrick benrick added the enhancement New feature or request label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant