ArticleslgStudy

science

WebFinger

WebFinger is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand WebFinger rather than just read about it. In short: WebFinger is a protocol specified by the Internet Engineering Task Force IETF in RFC 7033 that allows for discovery of information about people and things identified by a URI. Information about a person might be discovered via an acct: URI, for example, which is a URI that looks like an email address.

WebFinger — main illustration
WebFinger — illustration

Key takeaways

  • WebFinger belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect WebFinger to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of WebFinger from memory before moving on to harder problems.

Reference excerpt

WebFinger is a protocol specified by the Internet Engineering Task Force IETF in RFC 7033 that allows for discovery of information about people and things identified by a URI. Information about a person might be discovered via an acct: URI, for example, which is a URI that looks like an email address. WebFinger is specified as the discovery protocol for OpenID Connect, which is a protocol that allows one to more easily log in to various sites on the Internet. The WebFinger protocol is used by federated software, such as GNU social (via its use in OStatus), Diaspora, or Mastodon, to discover users on federated nodes and pods, as well as the remoteStorage protocol. The WebFinger protocol does not specify the usage of "template" within the "links" section. That is an extension made by the former oStatus protocol that the Fediverse inherited from. The reasoning for expanding upon this later was justified by wanting to use a different key for a value that isn't an URL but a pattern to create one. As a historical note, the name "WebFinger" is derived from the old ARPANET Finger protocol, but it is a very different protocol designed for HTTP. The protocol payload is represented in JSON format with a MIME-Type of application/jrd+json.

Technical overview The WebFinger specification consists of a specified URI format and a minimal ontology which requires JSON resources served from that URI to declare their own additional ontologies.

Contact Information Example The following example demonstrates a hypothetical E-mail client functionality which retrieves contact information from WebFinger-supporting servers:

Alice opens the "Add contact" page of their E-Mail client and enters Bob's E-mail Address, bob@example.com. The application then derives the WebFinger URL: https://example.com/.well-known/webfinger?resource=... ...the kind of schema the application is looking for (in this case we want to have account information): acct... ...followed by an URL-Encoded :-character, a.k.a. %3A... ...followed by the URL-Encoded value of interest: bob%40example.com. Resulting in the URL: https://example.com/.well-known/webfinger?resource=acct%3Abob%40example.com. The application then makes an HTTP GET request to this url and receives from the server a JSON document containing the requested information: The application can then parse the JSON, using the "rel" properties to find appropriate uses for each URI. For example, links with "rel" http://webfinger.net/rel/profile-page can be used for populating the user's homepage field, and those with "rel" http://webfinger.net/rel/avatar could be used as a profile picture.

Fediverse usage Fediverse-based social networking software like Mastodon, PeerTube, and Misskey can look up the server name of a specific username by sending a request to the WebFinger endpoint of the domain within their username (the part after the 2nd @-symbol). This allows any entity with their own DNS domain name to have a consistent (set of) Fediverse username(s), without having to run the software on their own domain. This is especially useful to allow consistent Fediverse usernames across different feature-incongruous Fediverse softwares without having to host them all; e.g., a company could have accounts on PeerTube and Mastodon with the same @bigcompany.tld suffix without having to host either software on their own domain. For individuals, this feature allows the user to keep a consistent username (and its associated social capital) even if they switch instances by serving a JSON file with the appropriate /.well-known/webfinger?resource=... path on their webserver.

Example for username @Mastodon@mastodon.social WebFinger aware platforms and clients first send an HTTP GET request to https://mastodon.social/.well-known/webfinger?resource=acct%3AMastodon%40mastodon.social. The server responds with a JSON document:

See also Authorization IndieAuth OpenID OpenID Connect WebID

References

External links webfinger.net community site WebFinger information and open source software sabre/webfinger server implementation by sabre.io webfinger Cloudflare worker by Kurt Seifried

Illustrations

WebFinger: Logo of WebFinger
Logo of WebFinger
WebFinger illustration

Worked examples

Example 1 — a first encounter with WebFinger

Start with the simplest possible case. Write down what WebFinger claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to WebFinger before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about WebFinger ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of WebFinger

In research
WebFinger appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses WebFinger in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
WebFinger is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2013 introductions, Internet protocols, so understanding it makes those chapters shorter.
In everyday life
Look for WebFinger outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “WebFinger” →

How to study WebFinger in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what WebFinger means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain WebFinger out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is WebFinger in simple terms?

WebFinger is a protocol specified by the Internet Engineering Task Force IETF in RFC 7033 that allows for discovery of information about people and things identified by a URI. Information about a person might be discovered via an acct: URI, for example, which is a URI that looks like an email addre…

Why does WebFinger matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study WebFinger?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on WebFinger.

Tags

  • 2013 introductions
  • Internet protocols

Keep exploring