WebFinger
/.well-known/webfinger
Standard: RFC 7033
Discover information about a person or entity from an account identifier (acct:user@domain).
What it is
WebFinger resolves an email-like identifier (acct:alice@example.com) into a JSON Resource Descriptor (JRD) with links: profile pages, avatars, activity inboxes, OAuth issuer hints. It's the discovery backbone of the federated social web (Mastodon, ActivityPub) and many OAuth/OpenID flows.
The threat it addresses
Federated systems need to find the right server, profile and capabilities for a user whose identity spans domains. Without WebFinger, every protocol invents its own lookup; with it, an identifier plus one well-known GET is enough to bootstrap federation.
How it works
- A client sends GET /.well-known/webfinger?resource=acct:user@example.com (with a rel filter optionally).
- The server returns a JRD: subject, aliases, and typed links.
- For unknown accounts the server returns 404 — deliberately no account enumeration.
- This server implements a real WebFinger for the demo account acct:demo@<host> and 404s everything else.
In the wild
- Mastodon (mastodon.social)
mastodon.social/.well-known/webfinger?resource=acct:Gargron@mastodon.social
Links verified to serve this URI on 2026-08-05; some point at the governing spec where no live deployment could be verified.
Try it
Live demo
Spec-accurate live implementation — resolves acct:demo@<host>, 404s unknown accounts
{
"subject": "acct:demo@well-known.page",
"aliases": [
"https://well-known.page/specs/webfinger"
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://well-known.page/specs/webfinger"
},
{
"rel": "http://webfinger.net/rel/self",
"type": "application/jrd+json",
"href": "https://well-known.page/demo/profile.json"
}
]
}