Inspired by #183, I decided to take some of my notes on all of the possible errors raised by navigator.credentials.create() and navigator.credentials.get() and try to provide some programmatic insight on what likely led to the thrown error.
Now, when possible, a new WebAuthnError will be raised out of startRegistration() and startAuthentication() with a more direct message of what went wrong to help RP devs figure out how to fix the issue.
Inspired by #183, I decided to take some of my notes on all of the possible errors raised by
navigator.credentials.create()
andnavigator.credentials.get()
and try to provide some programmatic insight on what likely led to the thrown error.Now, when possible, a new
WebAuthnError
will be raised out ofstartRegistration()
andstartAuthentication()
with a more direct message of what went wrong to help RP devs figure out how to fix the issue.Screenshots