Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4765f0c

Browse files
Add m.id_access_token flag (#5930)
Adds a flag to `/versions`' `unstable_features` section indicating that this Synapse understands what an `id_access_token` is, as per #5927 (comment) Fixes #5927
1 parent d19505a commit 4765f0c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

changelog.d/5930.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add temporary flag to /versions in unstable_features to indicate this Synapse supports receiving id_access_token parameters on calls to identity server-proxying endpoints.

synapse/rest/client/versions.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ def on_GET(self, request):
4444
"r0.5.0",
4545
],
4646
# as per MSC1497:
47-
"unstable_features": {"m.lazy_load_members": True},
47+
"unstable_features": {
48+
"m.lazy_load_members": True,
49+
# as per https://github.com/matrix-org/synapse/issues/5927
50+
# to be removed in r0.6.0
51+
"m.id_access_token": True,
52+
},
4853
},
4954
)
5055

0 commit comments

Comments
 (0)