Skip to content

fix: retrieve WebAuthn credentials inside try/catch OPENAM-26284#587

Merged
ryanbas21 merged 1 commit intoForgeRock:developfrom
thomas-schofield-fr:OPENAM-26284
May 5, 2026
Merged

fix: retrieve WebAuthn credentials inside try/catch OPENAM-26284#587
ryanbas21 merged 1 commit intoForgeRock:developfrom
thomas-schofield-fr:OPENAM-26284

Conversation

@ForgeRockEmma
Copy link
Copy Markdown
Contributor

JIRA Ticket

OPENAM-26284 This fixes an issue where errors were not being caught and reported to AM

Description

In a previous restructure, getAuthenticationCredential was moved outside of the catch block which populates the HiddenValueCallback. This meant that errors would not be reported to AM.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 4, 2026

🦋 Changeset detected

Latest commit: d14d301

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@forgerock/javascript-sdk Patch
@forgerock/ping-protect Patch
@forgerock/token-vault Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Contributor

@cerebrl cerebrl left a comment

Choose a reason for hiding this comment

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

This looks good. I'd like @ryanbas21 to take a look as well.

@ryanbas21 ryanbas21 merged commit 478b24d into ForgeRock:develop May 5, 2026
6 checks passed
@ryanbas21 ryanbas21 mentioned this pull request May 5, 2026
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