-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Support IS v2 API with authentication for requests proxied to the IS #5786
Comments
For requests proxied by the HS to the IS, the HS should relay the M_TERMS_NOT_SIGNED error back to the client, so that it's clear how the client should resolve the situation. This will ease some of the complexity involved in element-hq/element-web#10525. (I have mentioned this detail in a comment on the MSC.) |
After another look at the MSC, the client is meant to send the |
Are we doing this for Synapse's Aka, are we only implementing API v2 for |
Yeah, I wouldn't bother with the register / password requestTokens if synapse is just deprecating any use of ISes for that. |
I think you'd also need to cover
MSC2140 doesn't appear to clearly state that an |
MSC comment added. |
(As a small aside, please note that the token key was recently renamed in the MSC to I've been testing this out in Riot by passing the access token... Unfortunately (at least for the I am afraid this means we may need to add a temporary extra flag in |
I will develop the Riot code here to check for |
So the |
Yes, I think so. It only exists as marker to say "this Synapse will not explode if I add this extra data to the request". |
Some homeserver requests (such as
/account/3pid/email/requestToken
) are proxied to the IS.We are in the process of upgrading ISes to support MSC2140, which defines an IS v2 API with authentication.
Homeservers that proxy to the IS will need to add support for this new API version and auth scheme. It is anticipated that the IS v1 API will be deprecated and removed soon after v2 goes live.
The text was updated successfully, but these errors were encountered: