We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103b83d commit c36cae4Copy full SHA for c36cae4
1 file changed
packages/react/src/components/presentation/auth/SignIn/v2/SignIn.tsx
@@ -546,6 +546,11 @@ const SignIn: FC<SignInProps> = ({
546
setIsFlowInitialized(true);
547
// Clean up flowId from URL after setting it in state
548
cleanupFlowUrlParams();
549
+
550
+ // Display failure reason from INCOMPLETE response
551
+ if ((response as any)?.failureReason) {
552
+ setFlowError(new Error((response as any).failureReason));
553
+ }
554
}
555
} catch (error) {
556
const err: any = error as any;
0 commit comments