From c5dea84c2dd3c0f77c527fb65bbc4ac8889a25f8 Mon Sep 17 00:00:00 2001 From: ThaminduDilshan Date: Fri, 24 Apr 2026 15:22:00 +0530 Subject: [PATCH 1/2] Add missing challenge token to the passkey registration --- .../src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx b/packages/react/src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx index 37d604860..0409b5b12 100644 --- a/packages/react/src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx +++ b/packages/react/src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx @@ -797,6 +797,7 @@ const BaseSignUpContent: FC = ({ executionId: passkeyState.executionId as string, flowType: (currentFlow as any)?.flowType || 'REGISTRATION', inputs, + ...(challengeTokenRef.current ? {challengeToken: challengeTokenRef.current} : {}), } as any; const nextResponse: any = await onSubmit(payload); From 2e73a94aa7dfbdd9e77a8fba6c4f690b54969f3a Mon Sep 17 00:00:00 2001 From: ThaminduDilshan Date: Fri, 24 Apr 2026 15:24:31 +0530 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/social-lizards-jog.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/social-lizards-jog.md diff --git a/.changeset/social-lizards-jog.md b/.changeset/social-lizards-jog.md new file mode 100644 index 000000000..0992eeebd --- /dev/null +++ b/.changeset/social-lizards-jog.md @@ -0,0 +1,5 @@ +--- +'@asgardeo/react': patch +--- + +Add missing challenge token to the passkey registration