Skip to content

Commit c5dea84

Browse files
Add missing challenge token to the passkey registration
1 parent ef3f739 commit c5dea84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/react/src/components/presentation/auth/SignUp/v2

packages/react/src/components/presentation/auth/SignUp/v2/BaseSignUp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ const BaseSignUpContent: FC<BaseSignUpProps> = ({
797797
executionId: passkeyState.executionId as string,
798798
flowType: (currentFlow as any)?.flowType || 'REGISTRATION',
799799
inputs,
800+
...(challengeTokenRef.current ? {challengeToken: challengeTokenRef.current} : {}),
800801
} as any;
801802

802803
const nextResponse: any = await onSubmit(payload);

0 commit comments

Comments
 (0)