mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:23:50 +01:00
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 https://github.com/matrix-org/synapse/issues/5927#issuecomment-523566043 Fixes #5927
This commit is contained in:
parent
d19505a8c1
commit
4765f0cfd9
2 changed files with 7 additions and 1 deletions
1
changelog.d/5930.misc
Normal file
1
changelog.d/5930.misc
Normal file
|
@ -0,0 +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.
|
|
@ -44,7 +44,12 @@ class VersionsRestServlet(RestServlet):
|
|||
"r0.5.0",
|
||||
],
|
||||
# as per MSC1497:
|
||||
"unstable_features": {"m.lazy_load_members": True},
|
||||
"unstable_features": {
|
||||
"m.lazy_load_members": True,
|
||||
# as per https://github.com/matrix-org/synapse/issues/5927
|
||||
# to be removed in r0.6.0
|
||||
"m.id_access_token": True,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue