Skip to content

Webfinger resolve

given: "Alice" created an actor on "abel" called "Alice"

send.Alice.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1"
  ],
  "publicKey": {
    "id": "http://abel/actor/BjuiHpJO1eF-Y2K5MLZjUg#legacy-key-1",
    "owner": "http://abel/actor/BjuiHpJO1eF-Y2K5MLZjUg",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo7XJuFYrUnZV4E5pRISS\nq09RvW5wMYqW79/WR7KfS72cVZWkCKIeRxQrfQ92vAyI2vrJFTiVvTIXsNdXz+UG\nXJn4Dt2yeMGhqU/+bOmBWq/l9Y0R47Fd3Ocd8WP6lisInxMHfb4NO0b49I2N5tQJ\nbBAtmDBNQzt61qrYlfYUKACwTHTRpqPD/ApYVgc+iw1m6Ae5v1UfYqje9W8hRp32\njDj4MXXnupjvoap2Y24SwrwU4sGM7XUaywlV00w9PURN8OrfCvI3KRX204jRNFBt\nG5I43dUCmo8eRNuqgpIUVtBe8L++y+iEdLqp4biTpMHs905nYizzC12z9FnOrsZ5\nIQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/BjuiHpJO1eF-Y2K5MLZjUg",
  "type": "Person",
  "inbox": "http://abel/inbox/JUfoNrs8NbJSJ3t3OKmXjg",
  "outbox": "http://abel/outbox/wpUntAwnpLdw_5Ac-HsT-w",
  "followers": "http://abel/followers/xpcR-DsGTR1p4lIrX_KzEw",
  "following": "http://abel/following/PRZKXynBYwHShBcerSnnzQ",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/BjuiHpJO1eF-Y2K5MLZjUg"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  }
}

when: One queries webfinger for "acct:Alice@abel"

then: The actor URI of "Alice" is returned