Make the auth choice mode independent again

This commit is contained in:
Johannes Marbach
2026-10-12 20:37:14 +02:00
parent 37d25d4293
commit 54e948fdc0
13 changed files with 48 additions and 142 deletions
+5 -6
View File
@@ -54,21 +54,20 @@ const cases: {
guestFlows: ["cs-api"],
},
{
// In compatibility mode both publish a membership state event, so both
// must keep the legacy participant identity that clients predating MSC4195
// expect, which only the JWT service assigns.
// Publishers keep the legacy participant identity that clients predating
// MSC4195 expect, which only the JWT service assigns.
hostShape: "both",
guestShape: "both",
hostFlows: ["service-legacy"],
guestFlows: ["service-legacy"],
},
{
// In Matrix 2.0 mode nobody expects a legacy identity, so the CS API wins.
// The MatrixRTC mode has no bearing on the choice.
hostShape: "both",
guestShape: "both",
mode: "2_0",
hostFlows: ["cs-api"],
guestFlows: ["cs-api"],
hostFlows: ["service-legacy"],
guestFlows: ["service-legacy"],
},
{
hostShape: "url",