Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exempt additional WebAuthn error logging as expected #11577

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

aduth
Copy link
Member

@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
2 checks passed
@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