Error when trying to use Windows Hello registered fingerprint reader/WebAuthn: CredentialContainer request is not allowed.
Categories
(Core :: DOM: Web Authentication, defect)
Tracking
()
People
(Reporter: wagwan.piffting.blud, Unassigned)
Details
Attachments
(1 file)
|
4.07 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
- Visit a page allowing WebAuthn, such as https://webauthn.lubu.ch/
- Click "new registration"
- Dialog appears to use security key, attempt to use
Actual results:
2 different errors are returned depending on the context. The first is the normal "user cancellation" message when the user inevitably clicks "cancel" after their fingerprint scanner does not light up. This message reads "The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission." The second is when accessing the code through the debugger, when attempting to instantiate the CredentialContainer, the following is returned instead: "CredentialContainer request is not allowed."
Expected results:
The fingerprint scanner or Windows Hello is triggered, allowing the user to use the fingerprint scanner to authenticate.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Do you have security.webauth.webauthn_enable_softtoken set to true? The fact that you see Firefox's WebAuthn prompt rather than Windows Hello suggests to me that you might. That pref is only supposed to be true in automated tests.
| Reporter | ||
Comment 2•2 years ago
|
||
(In reply to John Schanck [:jschanck] from comment #1)
Do you have
security.webauth.webauthn_enable_softtokenset totrue? The fact that you see Firefox's WebAuthn prompt rather than Windows Hello suggests to me that you might. That pref is only supposed to betruein automated tests.
It was, disabling it fixed it instantly. I think a note somewhere about this setting should be made, but I am not in charge of that kind of thing. Thanks a ton for the assistance!
Comment 3•2 years ago
|
||
Great, glad that worked. We'll probably change the name of that pref.
Description
•