From c67df81202b8309047ff8b080894b50bbb2308d9 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Fri, 29 Apr 2022 17:06:08 +0200 Subject: [PATCH] Fix origin server name in S2S Request Authentication example. The JSON payload listed a different origin HS name from the one mentioned in the Authorization header. --- content/server-server-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/server-server-api.md b/content/server-server-api.md index cf4b9502..cb9fb640 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -255,7 +255,7 @@ condition applies throughout the request signing process. Step 2 add Authorization header: GET /target HTTP/1.1 - Authorization: X-Matrix origin=origin.example.com,key="ed25519:key1",sig="ABCDEF..." + Authorization: X-Matrix origin=origin.hs.example.com,key="ed25519:key1",sig="ABCDEF..." Content-Type: application/json