DevChatter / DevChatter/Smilodon
WebFinger - Resource Account Lookup
- Dominant language
- C#
- Stars
- 49
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
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:brendoneus@our.devchatter.com
```
```JSON
{
"subject":"acct:brendoneus@our.devchatter.com",
"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/
Contributor guide
Assessment
This issue has not been assessed yet.