mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-06 22:33:43 +01:00
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
|
|
@ -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:
|
||||
|
||||
.. code::
|
||||
|
|
|
|||
Loading…
Reference in a new issue