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

Register New Credentials goes into infinite loop when using both options DiscoverableCredentials=Preferred and UserVerification=Preferred #104

Open
ivkina opened this issue Aug 1, 2022 · 1 comment

Comments

@ivkina
Copy link

ivkina commented Aug 1, 2022

Looks like there is a problem in how latest Chrome handles the following authenticatorSelection criteria during navigator.credentials.create call:
authenticatorSelection: {residentKey: 'preferred', userVerification: 'preferred'}

image

Chrome first allows to register the key which is correct

image

but then after successful registration it goes into a loop and presents another dialog asking to verify your identity with try-webauthn.appspot.com

image.

If you remove (residentKey: 'preferred') from authenticatorSelection - use just {userVerification: 'preferred'}, then it works fine. Tested with Yubico 5 PIN protected series key

It worked also fine with previous version of Chrome (not the current released in July 2022 - 103.0.5060.134 (Official Build) (64-bit)).

@ivkina ivkina changed the title Register New Credentials goes into infinite loop when using both options DiscoverableCredentials=Preffered and UserVerification=Preffered Register New Credentials goes into infinite loop when using both options DiscoverableCredentials=Preferred and UserVerification=Preferred Aug 1, 2022
@1king2be12024
Copy link

Details

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

2 participants