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/W5YH2T1pU-pO0mC92mbAvA#legacy-key-1",
    "owner": "http://abel/actor/W5YH2T1pU-pO0mC92mbAvA",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1gYKR+4ocC3N6mxgLrr9\nlqRu6ZtmhFtUx26iVPxBTGV2mhb8akZk2UEajj3m2Lihet+8A519C7/ZpptJL0qU\no6936NCF8ZcTdri2dmFMTRMSDWj782bDuJ6Mrngp1NtjArY8TPVngxIUpcG/CU/l\n72bT/7z+ohgUNA5xMNAXkVIudRIkcLbSsbvSFnS5mAyyOkxJW6i2y4Xmd8BlqHs3\ny8Gzjfhdi1zwUY5Z9AL01nZIt/df0b8YFQYgw7ZH+iRY02TYeiuO8kFmZC/58vdv\n6wkqXj5V900EW8izNVAvJvuhqa6Gc752E1utoVgL/drwn8MxhtMiDkLk0cEgrPql\nZwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/W5YH2T1pU-pO0mC92mbAvA",
  "type": "Person",
  "inbox": "http://abel/inbox/ZNzm61BKRKaa0lwfc4DT7g",
  "outbox": "http://abel/outbox/38BN1s4klaB_wlwKV5-hug",
  "followers": "http://abel/followers/WjAtesZRXFD5ZTPsm_fGEg",
  "following": "http://abel/following/kbuhBerCmHz-cZ3jaMkfLw",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/W5YH2T1pU-pO0mC92mbAvA"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  }
}

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

then: The actor URI of "Alice" is returned