Merge pull request #2570 from matrix-org/travis/clarification/s2s-auth
Clarify which server names to sign requests with
This commit is contained in:
commit
65c6435093
2 changed files with 6 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify the server names to use when signing requests.
|
|
@ -291,6 +291,11 @@ Step 1 sign JSON:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The server names in the JSON above are the server names for each homeserver involved. Delegation from
|
||||||
|
the `server name resolution section <#resolving-server-names>`_ above do not affect
|
||||||
|
these - the server names from before delegation would take place are used. This
|
||||||
|
same condition applies throughout the request signing process.
|
||||||
|
|
||||||
Step 2 add Authorization header:
|
Step 2 add Authorization header:
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue