From fdf22a6dc7b42c69f6743d4f40d988a293d88201 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 30 Sep 2025 22:23:59 +0100 Subject: [PATCH] Prefer UIA flows with supported UIA steps https://github.com/element-hq/matrix-react-sdk/pull/34 added support for a custom UIA stage called `org.matrix.cross_signing_reset`, but neglected to add that stage to the list of supported stages that is passed to the js-sdk. As a result, if the server chooses to offer alternative flows that use unsupported steps (as is proposed in MSC4312), the js-sdk will be unable to reliably choose between them. --- src/components/structures/InteractiveAuth.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/InteractiveAuth.tsx b/src/components/structures/InteractiveAuth.tsx index d1c670c27cf..a4de1e4d217 100644 --- a/src/components/structures/InteractiveAuth.tsx +++ b/src/components/structures/InteractiveAuth.tsx @@ -20,7 +20,7 @@ import { logger } from "matrix-js-sdk/src/logger"; import getEntryComponentForLoginType, { type ContinueKind, - type CustomAuthType, + CustomAuthType, type IStageComponent, } from "../views/auth/InteractiveAuthEntryComponents"; import Spinner from "../views/elements/Spinner"; @@ -117,6 +117,7 @@ export default class InteractiveAuthComponent extends React.Component