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

Enter pin for usb #389

Open
asharmaarcadix opened this issue Apr 27, 2023 · 2 comments
Open

Enter pin for usb #389

asharmaarcadix opened this issue Apr 27, 2023 · 2 comments

Comments

@asharmaarcadix
Copy link

Hi,

I tried testing usb key for usernameless.

While using the usb key for log-in,

I am getting a prompt message for PIN.
(Shouldn't we be able to login directly without PIN, as again remembering the pin for this key is equivalent to rember the password)
image

Can you please help me over here.
Is there a way to disable this PIN method and get logged-in directly.
Are there any code changes for it.?

@Sora2455
Copy link

The PIN is an implementation detail of your USB authenticator, the browser doesn't control it directly. The most you can do is add userVerification: "discouraged" to your create() call. See: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create

@dbeinder
Copy link
Contributor

dbeinder commented May 3, 2023

Another setting that can affect this, is the CredProtect extension, though currently not supported by this library: #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants