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

fix/352-not-allowed-error #353

Merged
merged 2 commits into from
Feb 9, 2023
Merged

fix/352-not-allowed-error #353

merged 2 commits into from
Feb 9, 2023

Conversation

MasterKale
Copy link
Owner

This PR updates @simplewebauthn/browser to pass through NotAllowedError's because browsers are raising this error type with issues that are browser-specific, but not defined in the WebAuthn spec. To help RP devs identify these types of errors now and in the future, I'm choosing to simply pass the errors through, complete with their original messages.

Fixes #352.

@MasterKale MasterKale added the package:browser @simplewebauthn/browser label Feb 9, 2023
@MasterKale MasterKale added this to the v7.1.0 milestone Feb 9, 2023
@MasterKale MasterKale merged commit c26df43 into master Feb 9, 2023
@MasterKale MasterKale deleted the fix/352-not-allowed-error branch February 9, 2023 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:browser @simplewebauthn/browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop overwriting NotAllowError message when identifying errors in the browser
1 participant