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.
This commit is contained in:
parent
614680675f
commit
c67df81202
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
<JSON-encoded request body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue