Merge pull request #2570 from matrix-org/travis/clarification/s2s-auth

Clarify which server names to sign requests with
pull/977/head
Travis Ralston 5 years ago committed by GitHub
commit 65c6435093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save