-
Notifications
You must be signed in to change notification settings - Fork 850
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
Unable to authenticate with FIDO2 #2922
Comments
Its actually a general Android issue where Android currently doesn't support CTAP2. See bitwarden/mobile#1594 (comment) |
This error is likely due to Google Play Services, as it provides WebAuth support on Android. |
Hi @Keeblo, Thank you for this report. Could you please let me know if you're able to log into your Bitwarden account via the Web App (https://vault.bitwarden.com/#/) using the mobile browser on that device? I'd like to check if that environment supports FIDO2 WebAuthn. Thank you in advance, |
Hello @SergeantConfused, Since I have the same environment on my Pixel and the last comment is now 2 weeks old, please allow me to reply. Additionally for anyone looking at this issue, the work-around I have found is adding an OTP in the vault so that I can get the code through my laptop and enter it on the Bitwarden app on the smartphone (inconvenient at first but after that, we can use the fingerprint or pin to authenticate). |
As I stated in my previous comment, Android currently has issues with CTAP2 support and does not fail-over to U2F. There's a much more functional workaround: Use ykman to disable FIDO2 on the NFC interface in your Yubikey (make sure to keep U2F enabled). This will allow Bitwarden to use U2F with your Yubikey. I've done this a while back and my Yubikey 5 works just fine for Bitwarden 2FA using NFC on my GrapheneOS Pixel 8 pro. |
I see. Just tried, it didn't work for me on my Pixel 6a / GrapheneOS / Android 14. The services I enabled:
My test browser is Vanadium, chromium based browser. Did you enable Google Play services? |
I have Google-Play-Services/GSF sandboxed installed and use Brave as default browser (so WebAuthn redirects through Brave). |
I see. I don't have it installed. Is Google play a mandatory dependency? I thought it was not. |
It shouldn't but I can't verify if there's a dependency as I have to run a few apps that require GSF/Play (unfortunately). Other than that, it works well (just used it this morning). I might be able to setup a new profile over the weekend without GSF and see if it works. |
I just tested it out in a new profile and unfortunately it depends on GSF/Play. Without it, both Vanadium and Brave break on trying to authenticate on webauthn.io. Once the Sandboxed services are installed, both Vanadium and Brave work flawlessly on both webauthn.io and (setup as default browser respectively) on WebAuthn redirect from the Bitwarden app. |
@netboy3
Therefore it doesn't work properly, given that Google Play Services is not a mandatory dependency (F-Droid version) |
Issue migrated to bitwarden/mobile#2922 |
Steps To Reproduce
Expected Result
I expect to be signed into my BitWarden account :-)
Actual Result
I'm not signed into my BitWarden account :-(
Instead, I get this error:
Screenshots or Videos
Additional Context
If the theory posited in item number 6 is correct, perhaps there should be a more descriptive error message to alert the user that the F-Droid version of BitWarden doesn't support FIDO2.
Thank you for your time and hard work!
P.S. I'm filling in the "Build Version" as "2023.12.0" since that's the version shown in F-Droid. I cannot check the version in the app since tapping the "Settings" button (circle with two dots in the upper right of the log-in page) results in a screen flicker but no menu.
Operating System
Android
Operating System Version
14
Device
Pixel 6a
Build Version
2023.12.0
Beta
The text was updated successfully, but these errors were encountered: