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

Different user interfaces on android chrome #778

Closed
billlyd123 opened this issue Apr 17, 2023 Discussed in #777 · 7 comments
Closed

Different user interfaces on android chrome #778

billlyd123 opened this issue Apr 17, 2023 Discussed in #777 · 7 comments

Comments

@billlyd123
Copy link

Discussed in #777

Originally posted by billlyd123 April 13, 2023
Hi I am noticing different UIs on android chrome between different websites. One of them is able to detect my Yubikey 5Ci and the other is not. Is there different ways of calling the API that generate different UIs?
image
image

@blacklion9279
Copy link

I am seeing the same issue as well. can this be fixed soon?

@ynojima
Copy link
Member

ynojima commented Apr 19, 2023

Sorry for late response.
It seems the one for demo.yubico.com is a UI for legacy WebAuthn(non-resident(non-discoverable) credential), and the other is an UI for passkey.
Since I'm not the owner of these sites, I don't know the details but maybe latter is using option that allows passkey.

@billlyd123
Copy link
Author

I am the developer of this site, these are the options for key creation.
{
"rp": {
"id": "",
"name": "
"
},
"user": {
"id": "",
"name": "admin",
"displayName": "admin"
},
"challenge": "
",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -257
}
],
"timeout": 300000,
"excludeCredentials": [
{
"type": "public-key",
"id": "261K4PsjmbyOEyZN642zH6dhtkygrIDiWbQTVWfcQE0fcctqVpdCpQD0XueyPsi4"
}
],
"authenticatorSelection": {
"requireResidentKey": true,
"residentKey": "required",
"userVerification": "discouraged"
},
"attestation": "direct"
}
Is there something here that is blocking the browser from detecting the yubikey?

@ynojima
Copy link
Member

ynojima commented Apr 19, 2023

Since resident key is requested by "requireResidentKey": true, and "residentKey": "required", options, passkey is created and the new dialog is shown. If you switch it off, legacy dialog will be shown.

@billlyd123
Copy link
Author

billlyd123 commented Apr 20, 2023

That makes sense. It should be able to recognize the yubikry with the new user interface though right? Is there a better place to open a ticket for that?

@ynojima
Copy link
Member

ynojima commented Apr 20, 2023

You should file a bug in the Chromium bugzilla: https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EWebAuthentication

@billlyd123
Copy link
Author

thanks!

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

No branches or pull requests

3 participants