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
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 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