Skip to content

Commit c67df81

Browse files
committed
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.
1 parent 6146806 commit c67df81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/server-server-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ condition applies throughout the request signing process.
255255
Step 2 add Authorization header:
256256

257257
GET /target HTTP/1.1
258-
Authorization: X-Matrix origin=origin.example.com,key="ed25519:key1",sig="ABCDEF..."
258+
Authorization: X-Matrix origin=origin.hs.example.com,key="ed25519:key1",sig="ABCDEF..."
259259
Content-Type: application/json
260260

261261
<JSON-encoded request body>

0 commit comments

Comments
 (0)