dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

UI not user-friendly for 2FA with password managers

Open luanupe opened this issue 1 month ago • 4 comments

To Reproduce

  1. Enable 2FA on your Dokploy account.
  2. Use Bitwarden to manage your 2FA codes.
  3. Install the Bitwarden browser extension (I'm using Chrome).
  4. Log in to your account and wait for the 2FA screen to appear.
  5. Click on the 2FA input field. Bitwarden will suggest automatically filling in the code.
  6. Click on the Bitwarden dropdown suggestion.
  7. Nothing happens.
Image

Current vs. Expected behavior

Current behavior:

  • The 2FA code is not filled in when clicking the Bitwarden suggestion.
  • The Bitwarden dropdown disappears after clicking it.

Expected behavior:

  • The 2FA code should be automatically filled in when clicking the Bitwarden suggestion.
  • The form should be automatically submitted after the code is filled in, similar to the Cloudflare dashboard, for example.

Provide environment information

Operating System: MacOS Tahoe 26.6.2
Dokploy version: 0.30.8
Browser: Chrome 154.0.8037.98 (arm64)
Password Manager: Bitwarden

Which area(s) are affected? (Select all that apply)

Authentication

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe

luanupe avatar Oct 07 '26 13:10 luanupe

DOK-840

linear-code[bot] avatar Oct 07 '26 13:10 linear-code[bot]

Hi @luanupe, Dokploy maintainer here. I'm working on a fix for this.

The problem seems to come from the six-box code input on the 2FA screen. Bitwarden's inline suggestion can't fill it, and the input library has an open report for the same thing (guilhermerodz/input-otp#152). My fix replaces it on the login 2FA screen with a regular input, and it submits automatically once all 6 digits are entered.

I don't have Bitwarden Premium, so I can't test the inline TOTP suggestion myself. Could you help test it?

imrja8 avatar Oct 22 '26 05:10 imrja8

7. Hi @luanupe, Dokploy maintainer here. I'm working on a fix for this. The problem seems to come from the six-box code input on the 2FA screen. Bitwarden's inline suggestion can't fill it, and the input library has an open report for the same thing (guilhermerodz/input-otp#152). My fix replaces it on the login 2FA screen with a regular input, and it submits automatically once all 6 digits are entered. I don't have Bitwarden Premium, so I can't test the inline TOTP suggestion myself. Could you help test it?

Tested myself.

imrja8 avatar Oct 23 '26 16:10 imrja8

10. > 7. Hi @luanupe, Dokploy maintainer here. I'm working on a fix for this. > The problem seems to come from the six-box code input on the 2FA screen. Bitwarden's inline suggestion can't fill it, and the input library has an open report for the same thing (guilhermerodz/input-otp#152). My fix replaces it on the login 2FA screen with a regular input, and it submits automatically once all 6 digits are entered. > I don't have Bitwarden Premium, so I can't test the inline TOTP suggestion myself. Could you help test it?

 Tested myself.

Sorry for the late reply @imrja8 I got a lot on my plate this week due to PHP and NodeJS CVE, barely got time to sleep 😪 Thank you for addressing this issue =)

luanupe avatar Oct 24 '26 16:10 luanupe