clients icon indicating copy to clipboard operation
clients copied to clipboard

Can't login to extension - 2fa box empty

Open ShizCalev opened this issue 2 years ago • 22 comments

Steps To Reproduce

Fresh install of Firefox on a fresh install of andriod

  1. go to login
  2. put in username and password
  3. press login

Expected Result

See a 2fa box so you can finish logging in

Actual Result

The 2fa box is empty.

Screenshots or Videos

Screenshot_20220302-120803_Firefox Screenshot_20220302-120806_Firefox

Additional Context

No response

Operating System

Android

Operating System Version

12

Web Browser

Firefox

Browser Version

97.2.0

Build Version

can't see it since you have to be logged in to get to the settings screen. latest version as of this being opened.

ShizCalev avatar Mar 02 '22 17:03 ShizCalev

Hi, could you navigate to the captcha prompt hosted by bitwarden, directly? Do you still see only a grey box?

What about if you go directly to hcaptcha?

Trying to understand where the failure point is.

MGibson1 avatar Mar 02 '22 17:03 MGibson1

Screenshot_20220302-164715_Firefox Screenshot_20220302-164707_Firefox Both of those appear fine.

ShizCalev avatar Mar 02 '22 21:03 ShizCalev

Happening for me as well; is there a workaround for the moment?

skoshy avatar Mar 03 '22 17:03 skoshy

@skoshy are you also using bitwarden extension in ff on android?

Can you give any specifics about how you're accessing Bitwarden?

  • Are you behind a vpn?
  • what browser are you using?
  • Is this happening for the other bitwarden clients for you?

I've been having a very hard time reproducing this issue. Any specifics you can share would be very helpful to try and narrow this down

MGibson1 avatar Mar 03 '22 18:03 MGibson1

Yup, I'm using Firefox Nightly and on Android 12.

I installed the extension via the menu in Firefox Nightly, and I then tried logging into the extension.

Not behind a VPN, and accessing the links posted above directly going to HCaptcha works fine.

For what it's worth, I also tried using Kiwi Browser, which is Chromium based and supports extensions on Android, and the HCaptcha shows up properly when logging in there.

I can also log into the actual Android Bitwarden app with captcha, and also on my PC.

skoshy avatar Mar 03 '22 18:03 skoshy

Regular Firefox here, fresh install, no vpn, and the bitwarden Android app works fine, only the browser extension (1.56.6) is having the issue for me.

ShizCalev avatar Mar 03 '22 20:03 ShizCalev

Are any of you able to join our gitter chat here and help us debug this in live chat together? We are still having a hard time reproducing the issue and your help would be appreciated.

https://gitter.im/bitwarden/Lobby

kspearrin avatar Mar 03 '22 20:03 kspearrin

This also seems to be affecting Vivaldi on PopOS (desktop): #2432

eliykat avatar Mar 04 '22 00:03 eliykat

@eliykat I'm getting the captcha correctly rendered on Pop!_OS 21.10 and Vivaldi 5.1.2567.49, Bitwarden Version: 1.56.6

image

Greenderella avatar Mar 04 '22 10:03 Greenderella

Same issue for me with Firefox nightly for Android.

mac-lucky avatar Mar 04 '22 10:03 mac-lucky

I'm seeing the same behavior in a fresh install of the latest stable version of Firefox for Android.

Firefox 97.2.0, latest version of the Bitwarden extension installed via the app, no other extensions installed and enhanced tracking protection turned fully off

fortinj1354 avatar Mar 05 '22 02:03 fortinj1354

We're loading the captcha through an iframe for a few reasons. It seems that firefox for android just plain isn't loading iframe for addon popup windows.

We're currently investigating workarounds, but it looks like this will not be a very quick fix. For those of you impacted by this, the fastest workaround will be the mobile application.

MGibson1 avatar Mar 05 '22 12:03 MGibson1

It's suddenly working for me now, nothing has changed on my end. (Still ff 97.2.0, bw 1.56.6)

ShizCalev avatar Mar 06 '22 18:03 ShizCalev

If it helps anyone here I figured a way around this to help me log into the extension.

My environment:

OS: Windows 11 Browser: LibreWolf v97.0.2-1 (Latest) Extensions: BitWarden 1.56.6 and uBlock Origin 1.41.8

How I got around to use the extension.

  1. If you have uBlock Origin on disable it (or VPN, DNS, or a different adblocker disable it for the time being).

  2. Open the two links from @MGibson1 posted above and do the captcha -

Hi, could you navigate to the captcha prompt hosted by bitwarden, directly? Do you still see only a grey box?

What about if you go directly to hcaptcha?

Trying to understand where the failure point is.

  1. Open a new tab and try to use your BitWarden extension and login now.

  2. If you still cannot log in try this in addition (I've done this originally, but thought if my uBlock Origin was off then I wouldn't need these noop rules) - add a permanent noop rule and add a temporary noop rule for 3P. * hcaptcha.com * noop * newassets.hcaptcha.com * noop Temporary noop vault.bitwarden.com * 3p noop newassets.hcaptcha.com * 3p noop

  3. If you are able to use the extension and all is well don't forget remove the temporary noop rule for 3P in your uBO extension.

jayres92 avatar Mar 09 '22 10:03 jayres92

I was having this issue on desktop browsers. Both Firefox (97.02) and also Brave (1.36.111). Thought it was strange that it occurred on 2 different browsers

After some investigation, the issue that was causing it for me may have been 'Noscript' add-on/extension blocking hcaptcha.com. I worked around this by going directly to hcaptcha.com within the browser and marking this site as 'trusted' within Noscript. Now when I tried to login to Bitwarden, the captcha was shown.

dbfmuk avatar Mar 09 '22 10:03 dbfmuk

@dbfmuk workaround fixed it for me on regular Firefox (98.0) for desktop.

Edit: Found out I was able to log in via the browser extension only disabling uBlock and related add-ons before doing it, seems extensions, at least on Firefox, are affected by these kind.

jurdanetac avatar Mar 10 '22 21:03 jurdanetac

Same issue here on latest Brave browser on Windows 10. Noscript not installed

OfficialMuffin avatar Mar 10 '22 22:03 OfficialMuffin

Same issue here, Firefox 97.0.1 on Linux desktop (with noscript, ublock origin, privacy badger, canvas blocker (and some more addons)).

Trying to log in from the browser extension icon does not work, nothing is shown in the white space that supposed to contain captcha content (although there is a short flicker where a scrollbar flashes).

If I open a new tab and go to https://vault.bitwarden.com/ I am able log in there after I add https://hcaptcha.com and https://newassets.hcaptcha.com as trusted.

This however does not affect the browser icon login, it is still failing after configuring hcaptcha as trusted.

hlovdal avatar Mar 14 '22 22:03 hlovdal

If it helps anyone here I figured a way around this to help me log into the extension.

My environment:

OS: Windows 11 Browser: LibreWolf v97.0.2-1 (Latest) Extensions: BitWarden 1.56.6 and uBlock Origin 1.41.8

How I got around to use the extension.

  1. If you have uBlock Origin on disable it (or VPN, DNS, or a different adblocker disable it for the time being).
  2. Open the two links from @MGibson1 posted above and do the captcha -

Hi, could you navigate to the captcha prompt hosted by bitwarden, directly? Do you still see only a grey box? What about if you go directly to hcaptcha? Trying to understand where the failure point is.

  1. Open a new tab and try to use your BitWarden extension and login now.
  2. If you still cannot log in try this in addition (I've done this originally, but thought if my uBlock Origin was off then I wouldn't need these noop rules) - add a permanent noop rule and add a temporary noop rule for 3P. * hcaptcha.com * noop * newassets.hcaptcha.com * noop Temporary noop vault.bitwarden.com * 3p noop newassets.hcaptcha.com * 3p noop
  3. If you are able to use the extension and all is well don't forget remove the temporary noop rule for 3P in your uBO extension.

it works,thanks

lisansas avatar Mar 24 '22 12:03 lisansas

Any updates on this? I'm currently experiencing the same issue on a fresh android install with no extensions other than bitwarden.

creallfluharty avatar Jun 14 '22 01:06 creallfluharty

This is an issue with Firefox extensions not loading iframes properly. The bug I filed with the mozilla android team is here: https://github.com/mozilla-mobile/fenix/issues/24118.

No movement by them as of yet.

MGibson1 avatar Jun 14 '22 02:06 MGibson1

Any updates on this? I'm currently experiencing the same issue on a fresh android install with no extensions other than bitwarden.

Hi, I was able to solve the issue by logging in at the Bitwarden website after turning off uBlock Origin. This shows the captcha there, and you can log in. Following this, it prompted me to verify my email in the top-right corner. Once your email has been verified, it won't ever ask for a captcha again, be it a Chromium extension (on PC or mobile) or Mozilla add-on (PC or mobile) or even their Android/IOS app.

TL;DR Verify your Bitwarden e-mail

IMO users should be prompted to verify email from wherever they are trying to log in from.

ComfortableEast avatar Jul 30 '22 08:07 ComfortableEast

Fresh Android, fresh Firefox - and login is not working. What a surprise after years of using Bitwarden smoothly :/

Is there a way to show captcha without an iframe?

tosiara avatar Sep 05 '22 08:09 tosiara

TL;DR Verify your Bitwarden e-mail

IMO users should be prompted to verify email from wherever they are trying to log in from.

This workaround worked for me but... I had trouble verifying email, the email would arrive, but clicking opened a page with a message in the top right letting me know there was an error verify email, and to try again. After several retrys, and disabling ublock origin - I was able to verify email, and long into android client

TL;DR disable ublock origin? then Verify your Bitwarden e-mail

chozabu avatar Oct 18 '22 13:10 chozabu

Fresh Android, fresh Firefox - and login is not working. What a surprise after years of using Bitwarden smoothly :/

Is there a way to show captcha without an iframe?

Same here. Have been using FF at Android for years. Tried on android tablet(galaxy tab s8), pixel 5(android 13), Oneplus 10T(Android 12), galaxy Z flip 4(OneUI 4/Android 12) and an old tablet with Android 7, none of them had the Bitwarden worked within FF/FF-nightly. So disappointed. Having uBlock Origin or not does not affect anything.

Using Kiwi browser for now.

vcfvct avatar Oct 29 '22 18:10 vcfvct

Any updates on this? I'm currently experiencing the same issue on a fresh android install with no extensions other than bitwarden.

Hi, I was able to solve the issue by logging in at the Bitwarden website after turning off uBlock Origin. This shows the captcha there, and you can log in. Following this, it prompted me to verify my email in the top-right corner. Once your email has been verified, it won't ever ask for a captcha again, be it a Chromium extension (on PC or mobile) or Mozilla add-on (PC or mobile) or even their Android/IOS app.

TL;DR Verify your Bitwarden e-mail

IMO users should be prompted to verify email from wherever they are trying to log in from.

Thanks, this worked for me. I logged into the Bitwarden link above on an unused desktop Edge browser and I used the verify my email link from there. If it matters, I opened the verification link sent to my email in the Android Firefox app that I wanted to use Bitwarden on. After that, I was able to login to the Bitwarden app on my newly installed Android Firefox app.

zjays avatar Nov 13 '22 16:11 zjays

This is great detailed steps. Thanks. 👍 It finally worked. Still hope the captcha can work in the normal flow. 😄

vcfvct avatar Nov 13 '22 17:11 vcfvct