Only error if the token doesn't match

This commit is contained in:
Travis Ralston 2019-05-28 12:53:48 -06:00
parent d0fd20fdb4
commit e2da3728a0

View file

@ -193,7 +193,8 @@ Authorization
Homeservers MUST include a query parameter named ``access_token`` containing the Homeservers MUST include a query parameter named ``access_token`` containing the
``hs_token`` from the application service's registration when making requests to ``hs_token`` from the application service's registration when making requests to
the application service. Application services MUST verify the provided ``access_token`` the application service. Application services MUST verify the provided ``access_token``
matches their known ``hs_token``, failing the request with a ``M_FORBIDDEN`` error. matches their known ``hs_token``, failing the request with a ``M_FORBIDDEN`` error
if it does not match.
Legacy routes Legacy routes
+++++++++++++ +++++++++++++