-
Notifications
You must be signed in to change notification settings - Fork 174
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
Doesn't work on Chrome browser on Android #138
Comments
Can you share the entirety of Registration Options? If you're requesting resident key with |
Registration
Authentication
|
I just realized you're testing with https://github.com/duo-labs/duo-blog-going-passwordless-with-py-webauthn! That's why it looks so familiar.
This is almost definitely @simplewebauthn/browser detecting that WebAuthn is not supported. See this line in Since the code otherwise works fine, you're running into an Android issue, as opposed to anything wrong with py_webauthn. |
I see. So what should I do for Android? |
The general answer here is to make sure your OS and apps are all up on date. I'm not sure when Android started supporting WebAuthn, though, so I don't have a good idea of a minimum version of Android to aim for. I'm curious, what version of Android and what make and model of device are you testing with? And what version of Chrome for that matter? |
I asked around, it seems Android 8 is the earliest version of Android with any WebAuthn support. |
Android 12 |
Hi, I also have requireResidentKey enabled without problems. Do you use https (ssl) ? Webauthn doesn't work on http, when the host is not localhost. Then https is required!
|
@hDmtP I'm curious, if you go to https://webauthn.io on that phone, do you see a message like this? Could be the phone just doesn't support WebAuthn, for some reason. I would have no idea how to fix it, that's way outside the scope of this repo.
@ryou90 is correct, you can only use WebAuthn in a Secure Context. That is, you must use either http://localhost or something served at https:// to ensure the webpage has access to WebAuthn. Can you confirm that you're accessing that site in your original screenshot over an https:// connection on your phone? |
I think @ryou90 is right. I was running that on And yes, https://webauthn.io/ does work on my phone |
With a Samsung A41 Android 12 with Chrome 128 & Firefox 132 The "register" does not work, it throw "The operation either timed out or was not allowed." at https://webauthn.io/ either on https://www.passkeys.io/, https://webauthn.me/ We talk about at duo-labs/webauthn.io#146 update: It works with Samsung and Android 14. |
It works completely fine on my pc (both Chrome and Firefox) but says
Browser not supported
when I try to register/authenticate in Android chrome.The text was updated successfully, but these errors were encountered: