MatrixSynapse/synapse/handlers
Andrew Morgan 3505ffcda7
Fix existing v2 identity server calls (MSC2140) (#6013)
Two things I missed while implementing [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R80).

1. Access tokens should be provided to the identity server as `access_token`, not `id_access_token`, even though the homeserver may accept the tokens as `id_access_token`.
2. Access tokens must be sent to the identity server in a query parameter, the JSON body is not allowed.

We now send the access token as part of an `Authorization: ...` header, which fixes both things.

The breaking code was added in https://github.com/matrix-org/synapse/pull/5892

Sytest PR: https://github.com/matrix-org/sytest/pull/697
2019-09-11 11:59:45 +01:00
..
__init__.py
_base.py
account_data.py
account_validity.py
acme.py
acme_issuing_service.py
admin.py
appservice.py
auth.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py
e2e_room_keys.py
events.py
federation.py
groups_local.py
identity.py Fix existing v2 identity server calls (MSC2140) (#6013) 2019-09-11 11:59:45 +01:00
initial_sync.py
message.py
pagination.py
presence.py
profile.py
read_marker.py
receipts.py
register.py
room.py
room_list.py
room_member.py code cleanups 2019-09-03 21:05:06 +01:00
room_member_worker.py
saml_handler.py
search.py
set_password.py
state_deltas.py
stats.py
sync.py
typing.py
user_directory.py