From 2d5f1b3fb7dbc82c0ead40b25c6644f2e014a09a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Wed, 1 Oct 2025 15:35:27 +0100 Subject: [PATCH] Prefer UIA flows with supported UIA steps (#30926) 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 d1c670c27c..a4de1e4d21 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