Merge pull request #1038 from dkasak/dkasak/fix-hs-name-in-example

Fix origin server name in S2S Request Authentication example.
This commit is contained in:
Travis Ralston 2022-05-01 19:39:47 -06:00 committed by GitHub
commit 39d472fac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix origin server name in S2S Request Authentication example.

View file

@ -255,7 +255,7 @@ condition applies throughout the request signing process.
Step 2 add Authorization header: Step 2 add Authorization header:
GET /target HTTP/1.1 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 Content-Type: application/json
<JSON-encoded request body> <JSON-encoded request body>