diff sat/plugins/plugin_comp_ap_gateway/http_server.py @ 3882:1bd44367337d

component AP gateway: add `aliases` to webfinger data
author Goffi <goffi@goffi.org>
date Wed, 31 Aug 2022 17:07:03 +0200
parents 2e4a0f6050bd
children cea52400623d
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_ap_gateway/http_server.py	Wed Aug 31 17:07:03 2022 +0200
+++ b/sat/plugins/plugin_comp_ap_gateway/http_server.py	Wed Aug 31 17:07:03 2022 +0200
@@ -97,6 +97,7 @@
         actor_url = self.apg.buildAPURL(TYPE_ACTOR, account)
 
         resp = {
+            "aliases": [actor_url],
             "subject": resource,
             "links": [
                 {