summary refs log tree commit diff
path: root/changelog.d/5733.misc
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-09-11 11:59:45 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-09-13 14:08:26 +0100
commite0eef473158d8b60bbea6fb130cc89796fc3e606 (patch)
tree6dbfe7a0ffd5e51959028ece9572ed2a15e0adbb /changelog.d/5733.misc
parentMerge branch 'anoa/fix_3pid_validation' of github.com:matrix-org/synapse into... (diff)
downloadsynapse-matrix-org-hotfixes-identity.tar.xz
Fix existing v2 identity server calls (MSC2140) (#6013) github/matrix-org-hotfixes-identity matrix-org-hotfixes-identity
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/5733.misc')
0 files changed, 0 insertions, 0 deletions