mirror of
https://github.com/bitwarden/android.git
synced 2026-03-22 12:32:53 -05:00
Webauthn 2FA not working in Android app #2209
Open
opened 2025-11-26 23:11:50 -06:00 by GiteaMirror
·
20 comments
No Branch/Tag Specified
main
crowdin-pull
sdlc/sdk-update
llm/skill-refinements
release/2026.3-rc49
PM-24380/flight-recorder-redact-hostname
sdk-folder-repo-interface
PM-25654-preview-attachment
android-collections
cx/android-architect-agent
PM-30130-remove-archive-feature-flag
llm/add-resolving-sdk-updates-skill
QA-1523/sanity-test-saucelabs
release/2026.3-rc48
PM-26577-app-links-support
PM-26896-autofill-fix
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
release/2026.2-rc46
release/2026.1-rc45
PM-30644/added-logs-for-debug
PM-30644/quicktile-nav-not-showing-migration
minor-gradle-updates
release/2026.1-rc42
release/2026.1-rc44
release/2026.1-rc43
PM-28834/set-landscape-on-horizonos-devices
context-rules
devclarity/update-code-review-command
PM-20026/force-ltr-passwords-and-codes
release/2025.12-rc41
cmcg/testCoverage
PM-29014/talkback-support-for-passwords
release/2025.12-rc40
BRE-1305/publish_test
accept-user-certs
autofill-permissions
release/2025.11-rc39
PM-22479/check-all-certificates-validate-asset-links
release/2025.10-rc38
agalles/android-latest
optimize-test-workflows
tier2-test-sharding
retro-agent
PM-27001/skip-account-selection-only-one-exists-cxp
release/2025.10-rc37
agalles/test-1118
release/2025.10-rc36
PM-20593-token-refresh
QA-1126b/adding-native-sanity-test
release/2025.9-rc35
pm-25933/sdk-update-password
release/2025.9-rc34
release/2025.8-rc33
agalles/20250821-release
debug-release-issues
pm-24249-allow-automated-prs-for-sdk-updates
release/2025.8-rc32
release/WORKFLOW-TEST-2025.8-rc28
agalles/20250807release
release/2025.07-rc25
release/hotfix-v2025.7.0-bwa
pm-23311/export-vault-policy-bypass
release/2025.07-rc24
authenticator-pm-sync-flags-issue
ps/implement-sdk-repository-example
release/hotfix-v2025.6.0-bwpm
release/2025.06-rc21
agalles/automate-android-fastlane-patch
release/2025.05-rc20
release/2025.04-rc19
languages/basque
release/2025.03-rc19
update-readme
qrcode/feature
innovation/archive/pm-19153-archive-items
qrcode/2-ui-fields
qrcode/1-page
hold-on-biometric-prompt-alternative
release-notes-process
release/2025.02-rc16
bwa-monorepo
PM-8223/new-device-verification-ux-improvements
pm-18451/exempt-from-policies
test-bwa
cs-workaround-linked-0-copy
release/2025.01-rc15
release/2025.01-rc14
release/2024.12-rc13
pm-16670/sync-leave-notice
821
PM-16695/backport-lean-more-new-device-verification
km/15084-testing
release/hotfix-v2024.11.7
release/2024.11-rc1
pm-11304/collection-add-item-button
PM-14241/disabling-logs-app-crash
poc/offline-editing
new-version-calc
pm-11649/expired-link-services
pm-6702/add-feature-flag
pm-6702/email-verification-feature
pm-9933/marketing-copy-update
pm-6702/registration-flows
update-templates
pm-6701/email-verification-selfhost-registration
v2026.3.0-bwpm
v2026.3.0-bwa
v2026.2.1-bwpm
v2026.2.1-bwa
v2026.2.0-bwpm
v2026.2.0-bwa
v2026.1.1-bwa
v2026.1.1-bwpm
temp-test
v2026.1.0-bwpm
v2026.1.0-bwa
v2025.12.1-bwa
v2025.12.1-bwpm
v2025.12.0-bwa
v2025.12.0-bwpm
v2025.11.1-bwpm
v2025.11.1-bwa
v2025.11.0-bwpm
v2025.11.0-bwa
v2025.10.1-bwa
v2025.10.1-bwpm
v2025.10.0-bwa
v2025.10.0-bwpm
v2025.9.1-bwa
v2025.9.1-bwpm
v2025.9.0-bwa
v2025.9.0-bwpm
v2025.8.1-bwa
v2025.8.1-bwpm
v2025.8.0-bwa
v2025.8.0-bwpm
v2025.7.2-bwa
v2025.7.2-bwpm
v2025.7.1-bwa
v2025.7.1-bwpm
v2025.7.0-bwa
v2025.7.0-bwpm
v2025.6.1-bwpm
v2025.6.0-bwa
v2025.6.0-bwpm
v2025.1.0-bwa
v2025.5.0-bwa
v2025.5.0-bwpm
v2025.5.999
2025.4.0
v2025.4.0
untagged-4731eaadac73f3dfbbb8
v2025.3.0
v2025.2.0
untagged-815a165c5d70ffe75bc7
v2025.1.2
v2025.1.1
v2025.1.0
v2024.12.0
untagged-5a76b6392a4c8998c63a
v2024.11.7
v2024.11.6
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.10.2
v2024.10.1
v2024.10.0
v2024.9.0
v2024.8.1
v2024.8.0
v2024.7.3
v2024.7.2
v2024.7.1
v2024.7.0
v2024.6.1
v2024.6.0
v2024.5.1
v2024.4.1
v2024.4.2
v2024.4.0
v2024.3.3
v2024.3.1
v2024.3.0
v2024.2.1
v2024.2.0
v2024.1.1
v2024.1.0
v2023.12.0
v2023.10.0
v2023.9.2
maui-single-project-android
v2023.9.1
v2023.9.0
v2023.8.0
v2023.7.0
v2023.5.0
v2023.4.0
v2023.3.2
v2023.3.1
v2023.3.0
v2023.2.0
v2023.1.0
v2022.11.0
v2022.10.0
v2022.9.1
v2022.9.0
v2022.8.0
v2022.6.2
v2022.6.1
v2022.6.0
v2022.05.0
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12.0
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.7.2
v2.7.0
v2.6.1
v2.6.0
v2.5.6
v.2.5.5
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.2
v2.2.1
v2.2.0
v2.1.2
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.22.1
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.1
v1.18.0
v1.17.0
v1.16.0
v1.15.2
v1.15.1
v1.15.0
v1.14.4
v1.14.1
v1.14.0
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.0
v1.8.1
v1.8.0
v1.7.0
v1.6.5
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/android#2209
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GuidoCHLM on GitHub (Apr 9, 2025).
Steps To Reproduce
Bitwarden: 2025.3.0
Android 14
Device Oneplus 9 Pro
Same Yubikey works perfectly fine for 2FA webauthn on Windows client
Expected Result
Webauthn 2FA working on Android device
Actual Result
Webauthn 2FA not working on latest Android client
Screenshots or Videos
No response
Additional Context
No response
Build Version
2025.3.0
What server are you connecting to?
US
Self-host Server Version
No response
Environment Details
No response
Issue Tracking Info
@S-Kakar commented on GitHub (Apr 9, 2025):
Thank you for your report! We've added this to our internal board for review.
ID: PM-20049
@GuidoCHLM commented on GitHub (Apr 9, 2025):
Thank you, in case of any help to track the error Chrome version is 135.0.7049.38
@abergs commented on GitHub (Apr 9, 2025):
I'll take a look. Did it work on the previous version of the android app for you?
@GuidoCHLM commented on GitHub (Apr 9, 2025):
Hey, thanks for looking into this.
No, it didn't work with previous version either. I even tried installing ver 2024.10 using the apk and that one didn't work neither.
@tinfever commented on GitHub (Apr 10, 2025):
I've been having the same issue for at least several weeks.
Steps to reproduce:
Pixel 7 Pro
GrapheneOS
Bitwarden App Version: 2025.3.0
Android 15
@abergs commented on GitHub (Apr 11, 2025):
@GuidoCHLM @tinfever Thanks for your participation in this. I could repro this on Android 14 yesterday, but after allowing over night automatic updates (especially on chrome), the flow works without a hitch.
I'm on Chrome 135.0.7049.79. Running an older chrome, e.g. 122 does still produce a similar error to what you are reporting.
@GuidoCHLM commented on GitHub (Apr 11, 2025):
Hi @abergs ,
I updated to Chrome 135.0.7049.79, but still seeing the issue. Will keep an eye on it.
I additionally tried authenticating directly from phone's Chrome (135.0.7049.79) and it also failed. Still with a slightly different error:
@Ryan0188 commented on GitHub (Apr 13, 2025):
I was also having this issue. I needed to update either or both "Security update" and Google Play system update" via Security and privacy>Updates. Bitwarden also needs to be on in General management>Passwords, passkeys and autofill. After entering my master password I now get the passkey pop up where I can touch More saved sign-ins>Show QR code>NFC security key.
Galaxy S21 5G
One UI 6.1
Android 14
Google Play system update 1 March 2025
Android security patch level 1 February 2025
Chrome 135.0.7049.79
Bitwarden App Version: 2025.3.0
@tinfever commented on GitHub (Apr 13, 2025):
@abergs Thank you! I installed Chrome (135.0.7049.79), set it as my default browser, and was able to get my Yubikey to work for 2FA.
@matt8833 commented on GitHub (Apr 14, 2025):
Same issue for me with a S23 Ultra. Chrome/Google Play was already up-to-date. What worked was the Chrome/Bitwarden autofill setting as noted above. But now, each time, I need to select the QR code option first (for some reason) before I get offered the NFC/USB key prompt as previous. Definitely seems like something changed in Android/Chrome that Bitwarden needs to adapt to.
@kimdre commented on GitHub (May 31, 2025):
I also have this issue with the latest version.
OnePlus 12 with Android 15
WebAuthn neither works with Chrome, nor with Brave Browser.
I'm completely locked out of my Bitwarden account on my phone right now. Please fix this ASAP.
@Agenda5347 commented on GitHub (Jun 5, 2025):
Same problem here. Using bitwarden and yubikey on Pixel 6a. Tried updating the pixel's security updates and google play store but still getting the error. Am able to get in using my authenticator app as a backup for now but trying to use webauthn with the yubikey fails through webauthn. FYI I am using firefox focus browser as default.
@gstegm commented on GitHub (Jun 7, 2025):
I also have this issue. WebAuthn does work with device biometrics but not with the Yubikey.
OnePlus 9 Pro
Android 14
Chrome 137.0.7151.72 (default browser)
Bitwarden 2025.5.0
The error message I get is "An error has occurred. NotAllowedError: The operation either timed out or was not allowed. See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client"
@fg-cfh commented on GitHub (Jun 7, 2025):
Confirmed for Fairphone 4, Android 13, Chrome 137.0.71251.72, Bitwarden 2025.5.0. Was always unstable on that platform, now not working at all any more.
@abergs commented on GitHub (Jun 7, 2025):
We're looking in to this, but it's not an easy one to replicate.
Just adding a bit of context: I know that for Android 14 it' optional for the OEM to support third party passkey providers, while on Android 15 it's mandatory. Perhaps there is something similar going on with fido2 / security key support that might come in to play in some of these scenarios, but not sure.
@davrot commented on GitHub (Jun 19, 2025):
I have also the NotAllowedError error message. Both with USB-C and NFC on an Ulefone Armor Pad 4 Ultra. Is there a way to help debugging?
I tried my USB-A Yubikey too but this sends me to a Yubikey-Website?
@roberto-sartori-gl commented on GitHub (Jul 2, 2025):
Same issue on Android 15 here, I can't use my Yubikey but the mail 2FA works (but it's less secure, I had to enable it for my phone only).
@zsrv commented on GitHub (Jul 9, 2025):
I also have the NotAllowedError error message on Android 15 (and now 16, after having upgraded) with a YubiKey 5C NFC and a SoloKey 2. Google Play Services crashed with an error message (see https://github.com/GrapheneOS/os-issue-tracker/issues/5740):
@zsrv commented on GitHub (Jul 20, 2025):
Perhaps this is relevant? https://support.nitrokey.com/t/nitrokey-3a-fails-to-work-on-grapheneos-when-using-googles-fido-library/4532
@fuchs-julian commented on GitHub (Nov 11, 2025):
On my side a slightly different behaviour occurs.

After entering master password, I click "WebAuthnを起動" and a redirect to chrome inside bitwarden app happens. I guess the blue box should be a button but it is not pressable.
Everything works fine on mobile chrome app and pc as well.
Android 16
security patch: 2025/10
playstore system update: 2025/10
Chrome 142.0.7444.138
Bitwarden Version: 2025.10.1 (20867)
🧱 commit: bitwarden/android/release/2025.10-rc37@74b9a12e19e07b60271a1141d3a95f7919811ea4