anonymousland-synapse/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 Fix registration on workers (#4682) 2019-02-20 18:47:31 +11:00
_base.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
account_data.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
account_validity.py Allow Synapse to send registration emails + choose Synapse or an external server to handle 3pid validation (#5987) 2019-09-06 11:35:28 +01:00
acme_issuing_service.py Allow configuration of the path used for ACME account keys. 2019-06-24 13:51:22 +01:00
acme.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
admin.py Add GET method to admin API /users/@user:dom/admin 2019-08-27 13:12:27 +01:00
appservice.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
auth.py Use account_threepid_delegate for 3pid validation 2019-09-10 17:56:10 +01:00
deactivate_account.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
device.py Opentrace device lists (#5853) 2019-09-03 10:21:30 +01:00
devicemessage.py Link the send loop with the edus contexts 2019-09-05 14:42:37 +01:00
directory.py Remove duplicate return statement 2019-07-31 13:24:51 +01:00
e2e_keys.py Opentrace e2e keys (#5855) 2019-08-22 11:28:12 +01:00
e2e_room_keys.py Opentrace e2e keys (#5855) 2019-08-22 11:28:12 +01:00
events.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
federation.py Remove origin parameter from add_display_name_to_third_party_invite and add params to docstring (#6010) 2019-09-11 10:37:17 +01:00
groups_local.py Correctly handle errors doing requests to group servers 2019-07-29 17:21:57 +01:00
identity.py Fix existing v2 identity server calls (MSC2140) (#6013) 2019-09-11 11:59:45 +01:00
initial_sync.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
message.py Apply suggestions from code review 2019-08-23 10:28:54 +01:00
pagination.py Servlet to purge old rooms (#5845) 2019-08-22 10:42:59 +01:00
presence.py fix typo 2019-09-03 12:44:14 +01:00
profile.py Increase max display name limit 2019-08-24 22:33:43 +01:00
read_marker.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
receipts.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
register.py Only count real users when checking for auto-creation of auto-join room 2019-09-09 14:48:08 +03:00
room_list.py Support MSC2197 outbound with unstable prefix 2019-08-15 10:59:37 +01:00
room_member_worker.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
room_member.py code cleanups 2019-09-03 21:05:06 +01:00
room.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
saml_handler.py Address review comments 2019-07-01 12:13:22 +01:00
search.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
set_password.py Added possibilty to disable local password authentication (#5092) 2019-06-27 18:37:29 +01:00
state_deltas.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
stats.py Correctly handle non-bool m.federate flag 2019-09-06 14:21:06 +01:00
sync.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
typing.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
user_directory.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00