Skip to content

Conversation

@ryanbas21
Copy link
Contributor

Fixes a bug in a reactive block that was causing an infinite loop eventually resulting in a failure in the webauthn flow.

https://pingidentity.atlassian.net/browse/SDKS-4482

form.submit();
}
$: formMessageKey = convertStringToKey(form?.message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By separating this reactive block from the below reactive block, are we isolating formMessageKey changes from triggering a re-run of the reactive block below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - perhaps it is overly defensive to do this, because the boolean should take care of it also but you are correct.

@ryanbas21 ryanbas21 merged commit c9aade2 into beta Jan 2, 2026
17 of 25 checks passed
@ryanbas21 ryanbas21 deleted the fix-webauthn-loop branch January 2, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants