NotAllowedError during registration #351
Replies: 1 comment 6 replies
-
Hearing that you're using @simplewebauthn/browser, there's a caveat that you should be aware of: I'm (now, regretfully) overwriting This came up in a discussion the other day, where iOS Safari is returning One thing you can do is attempt to verify the real message on whatever error Chrome is throwing. If you open up devtools, you can set a breakpoint on the code in browser that when it checks Maybe that'll shed some light on why Chrome is failing this registration. Alternatively you can open up I hope that helps...I'm curious now too. |
Beta Was this translation helpful? Give feedback.
-
I'm looking at utilizing the browser element of the library and I am getting this error purely on Chrome (it works fine in Firefox, obviously via CTAP1 though):
NotAllowedError: User clicked cancel, or the registration ceremony timed out
I do not believe the error is related to this library but is probably something to do with go-webauthn, but I figured someone here may pick out the issue straight away. Here is the JSON options being fed into startRegistration in two scenarios both at the URL
https://login.example.com:8080/webauthn/register
. I have beautified everything other than pubKeyCredParams for the sake of readability.Scenario 1 (Device Not Registered):
Scenario 2 (Device Already Registered In Firefox):
Beta Was this translation helpful? Give feedback.
All reactions