summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-09-11 11:59:45 +0100
committerGitHub <noreply@github.com>2019-09-11 11:59:45 +0100
commit3505ffcda7d04a9c0100ff423a2239d1e6340fd0 (patch)
tree6dada620a2c55b53e71817a371f5880967980700 /changelog.d
parentRemove origin parameter from add_display_name_to_third_party_invite and add p... (diff)
downloadsynapse-3505ffcda7d04a9c0100ff423a2239d1e6340fd0.tar.xz
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
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/6013.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/6013.misc b/changelog.d/6013.misc
new file mode 100644
index 0000000000..939fe8c655
--- /dev/null
+++ b/changelog.d/6013.misc
@@ -0,0 +1 @@
+Compatibility with v2 Identity Service APIs other than /lookup.
\ No newline at end of file