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

Add exception to event payload #653

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

fritzmg
Copy link
Contributor

@fritzmg fritzmg commented Oct 2, 2024

Target branch: 5.1.x

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

I think it would make sense to add the exception to the payload of the webauthn:assertion:failure and webauthn:attestation:failure custom event. This way you could display the error message somewhere, when reacting to the event, if you want to.

@Spomky Spomky self-assigned this Oct 3, 2024
@Spomky Spomky added DX Developer Experience UX labels Oct 3, 2024
@Spomky Spomky added this to the 5.1.0 milestone Oct 3, 2024
@Spomky
Copy link
Contributor

Spomky commented Oct 3, 2024

Hi @fritzmg,

Many thanks for this PR. Indeed, I want to dispatch more events and information.
This PR will help #623

@Spomky Spomky merged commit 56520b7 into web-auth:5.1.x Oct 3, 2024
11 of 13 checks passed
@fritzmg fritzmg deleted the add-exceptions-to-payload branch October 3, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Developer Experience UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants