mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-10 18:03:41 +01:00
Clarify which server names to sign requests with
Fixes https://github.com/matrix-org/matrix-doc/issues/2512
This commit is contained in:
parent
e9e9366804
commit
b876ac5893
|
|
@ -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 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