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

[CAT-1728] Don't catch JSON decoding error on webhook event verification in Java #158

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

dvacca-onfido
Copy link
Contributor

@dvacca-onfido dvacca-onfido commented Feb 17, 2025

This is to not catch JsonParseException and re-trow that as an OnfidoInvalidSignatureError when verifying webhooks events in onfido java.

NB: this change need a major release.

@dvacca-onfido dvacca-onfido self-assigned this Feb 17, 2025
@dvacca-onfido dvacca-onfido marked this pull request as draft February 17, 2025 09:55
@dvacca-onfido dvacca-onfido force-pushed the improve-error-management-in-webhook-verifier branch from 7999ca7 to 3d452db Compare February 17, 2025 09:57
@dvacca-onfido dvacca-onfido changed the title Propagate JSON decoding error on webhook event verification [CAT-1728] Propagate JSON decoding error on webhook event verification in Java Feb 17, 2025
@dvacca-onfido dvacca-onfido changed the title [CAT-1728] Propagate JSON decoding error on webhook event verification in Java [CAT-1728] Don't catch JSON decoding error on webhook event verification in Java Feb 17, 2025
@dvacca-onfido dvacca-onfido marked this pull request as ready for review February 17, 2025 16:46
@dvacca-onfido dvacca-onfido force-pushed the improve-error-management-in-webhook-verifier branch from 89f70ea to 3d452db Compare February 17, 2025 17:01
@dvacca-onfido dvacca-onfido merged commit 986e957 into master Feb 18, 2025
8 checks passed
@dvacca-onfido dvacca-onfido deleted the improve-error-management-in-webhook-verifier branch February 18, 2025 09:19
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.

3 participants