bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.07k stars 1.19k forks source link

Bitwarden Linux App Fails to Login with Duo 2FA #9554

Open hn-sl opened 3 months ago

hn-sl commented 3 months ago

Steps To Reproduce

  1. Go to the Bitwarden Linux desktop app.
  2. Enter your master password.
  3. When prompted, click to launch Duo in the browser.
  4. Observe the redirect to a webpage showing "Internal Server Error".
  5. Refresh the webpage.
  6. Complete the authentication process with Duo.
  7. Notice the redirect back to the initial login page, which repeats infinitely.

Expected Result

After completing the Duo authentication, I should be logged into my Bitwarden account on the Linux desktop app.

Actual Result

After entering the master password and launching Duo in the browser, the process results in an "Internal Server Error" page. Refreshing the page correctly shows the authentication process, but upon completing Duo authentication, it redirects back to the initial login page and repeats the process infinitely, preventing successful login.

Screenshots or Videos

Screen after entering master password: image

This redirect to Internal Server Error page: image

Correct authentication page after refresh: image

Infinite login loop after Duo authentication: image

Additional Context

No response

Operating System

Linux

Operating System Version

Ubuntu 22.04.4 LTS

Web Browser

Chrome

Browser Version

No response

Build Version

Version 2024.5.0

Issue Tracking Info

SergeantConfused commented 3 months ago

Hi @hn-sl,

Thank you for this report.

  1. How did you install that Bitwarden desktop client on Ubuntu? Snap?
  2. Which browser are you using, and how was it installed?

Thank you in advance,

hn-sl commented 3 months ago

Hi @hn-sl,

Thank you for this report.

  1. How did you install that Bitwarden desktop client on Ubuntu? Snap?
  2. Which browser are you using, and how was it installed?

Thank you in advance,

  1. I have tried installing the Bitwarden desktop app both from the Snap Store and directly from the Bitwarden website.
  2. I'm using the latest version of Chrome downloaded from the official Chrome website.
nihakuto commented 2 months ago

I am seeing the exact same behavior on the Desktop bitwarden app installed via Archlinux's official repos.

FabianKnapp commented 1 month ago

Same problem here. Please fix this asap!