Skip to content

Exempt additional WebAuthn error logging as expected#11577

Merged
aduth merged 1 commit intomainfrom
aduth-expected-webauthn-errors
Dec 2, 2024
Merged

Exempt additional WebAuthn error logging as expected#11577
aduth merged 1 commit intomainfrom
aduth-expected-webauthn-errors

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 2, 2024

🛠 Summary of changes

Updates expected error logging conditions for WebAuthn errors to exclude a handful of additional error cases.

After further investigation, these errors are explainable by either known device / credential manager incompatibilities, or lack of support when verifying on a device other than the one that set up Face or Touch Unlock.

This follows #11481, which effectively fixed explicit frontend error logging, causing additional errors to be surfaced in NewRelic error logging.

Related Slack discussions:

📜 Testing Plan

yarn app/javascript/packages/webauthn/is-expected-error.spec.ts

This will be difficult to test in practice, since the errors surfaced here are edge cases on specific device types.

changelog: Internal, Error Logging, Exempt additional WebAuthn error logging as expected
@aduth aduth requested a review from a team December 2, 2024 20:27
@aduth aduth merged commit f94b900 into main Dec 2, 2024
@aduth aduth deleted the aduth-expected-webauthn-errors branch December 2, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants